diff options
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index fe5f8b363c7f..f887260adc17 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2233,7 +2233,7 @@ void Edit::Command( const CommandEvent& rCEvt ) ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.getLength() ) ) { // restore old characters - sal_uInt16 nRestore = nOldIMETextLen - nNewIMETextLen; + sal_Int32 nRestore = nOldIMETextLen - nNewIMETextLen; maText.insert( mpIMEInfos->nPos + nNewIMETextLen, mpIMEInfos->aOldTextAfterStartPos.copy( nNewIMETextLen, nRestore ) ); } else if ( ( nOldIMETextLen < nNewIMETextLen ) && |