Home
last modified time | relevance | path

Searched refs:nNewIMETextLen (Results 1 – 3 of 3) sorted by relevance

/aoo42x/main/vcl/source/control/
H A Dedit.cxx2271 sal_uInt16 nNewIMETextLen = pData->GetText().Len(); in Command() local
2272 if ( ( nOldIMETextLen > nNewIMETextLen ) && in Command()
2273 ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
2276 sal_uInt16 nRestore = nOldIMETextLen - nNewIMETextLen; in Command()
2277 …sert( mpIMEInfos->aOldTextAfterStartPos.Copy( nNewIMETextLen, nRestore ), mpIMEInfos->nPos + nNewI… in Command()
2279 else if ( ( nOldIMETextLen < nNewIMETextLen ) && in Command()
2283 sal_uInt16 nOverwrite = nNewIMETextLen - nOldIMETextLen; in Command()
2286 maText.Erase( mpIMEInfos->nPos + nNewIMETextLen, nOverwrite ); in Command()
/aoo42x/main/svtools/source/edit/
H A Dtextview.cxx977 sal_uInt16 nNewIMETextLen = pData->GetText().Len(); in Command() local
979 if ( ( nOldIMETextLen > nNewIMETextLen ) && in Command()
980 … ( nNewIMETextLen < mpImpl->mpTextEngine->mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
983 sal_uInt16 nRestore = nOldIMETextLen - nNewIMETextLen; in Command()
985 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()
986 …( aPaM, mpImpl->mpTextEngine->mpIMEInfos->aOldTextAfterStartPos.Copy( nNewIMETextLen, nRestore ) ); in Command()
988 else if ( ( nOldIMETextLen < nNewIMETextLen ) && in Command()
992 sal_uInt16 nOverwrite = nNewIMETextLen - nOldIMETextLen; in Command()
997 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()
/aoo42x/main/editeng/source/editeng/
H A Dimpedit2.cxx550 sal_uInt16 nNewIMETextLen = pData->GetText().Len(); in Command() local
552 if ( ( nOldIMETextLen > nNewIMETextLen ) && in Command()
553 ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) ) in Command()
556 sal_uInt16 nRestore = nOldIMETextLen - nNewIMETextLen; in Command()
558 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()
559 … ImpInsertText( aPaM, mpIMEInfos->aOldTextAfterStartPos.Copy( nNewIMETextLen, nRestore ) ); in Command()
561 else if ( ( nOldIMETextLen < nNewIMETextLen ) && in Command()
565 sal_uInt16 nOverwrite = nNewIMETextLen - nOldIMETextLen; in Command()
570 aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen; in Command()

Completed in 75 milliseconds