convert vcl/cmdevt.hxx from XubString to OUString

Change-Id: Ib574cc7130f49c7a6be23566377313906c52abb8
This commit is contained in:
Noel Grandin
2013-08-01 12:38:47 +02:00
parent 830f6cec6d
commit d3ebe15c1e
5 changed files with 9 additions and 9 deletions

View File

@@ -426,7 +426,7 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView )
( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.Len() ) )
{
// restore old characters
sal_uInt16 nRestore = nOldIMETextLen - nNewIMETextLen;
sal_Int32 nRestore = nOldIMETextLen - nNewIMETextLen;
EditPaM aPaM( mpIMEInfos->aPos );
aPaM.GetIndex() = aPaM.GetIndex() + nNewIMETextLen;
ImpInsertText( aPaM, mpIMEInfos->aOldTextAfterStartPos.Copy( nNewIMETextLen, nRestore ) );