Lines Matching refs:count
81 void SAL_CALL CCharacterData::deleteData(sal_Int32 offset, sal_Int32 count) in deleteData() argument
93 if (offset > tmp.getLength() || offset < 0 || count < 0) { in deleteData()
98 if ((offset+count) > tmp.getLength()) in deleteData()
99 count = tmp.getLength() - offset; in deleteData()
102 tmp2 += tmp.copy(offset+count, tmp.getLength() - (offset+count)); in deleteData()
187 … void SAL_CALL CCharacterData::replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) in replaceData() argument
199 if (offset > tmp.getLength() || offset < 0 || count < 0){ in replaceData()
204 if ((offset+count) > tmp.getLength()) in replaceData()
205 count = tmp.getLength() - offset; in replaceData()
209 tmp2 += tmp.copy(offset+count, tmp.getLength() - (offset+count)); in replaceData()
241 OUString SAL_CALL CCharacterData::subStringData(sal_Int32 offset, sal_Int32 count) in subStringData() argument
254 if (offset > tmp.getLength() || offset < 0 || count < 0) { in subStringData()
259 aStr = tmp.copy(offset, count); in subStringData()