diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-11 17:00:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-12 08:32:59 +0100 |
commit | 9dd40c656feda2ccadb07d618a95b9ff63ab61ff (patch) | |
tree | 84b5e0e3bd48909413c074d52c4bc08a46cfabce /vcl/source/control/edit.cxx | |
parent | 3e9ae4da947cd9c3f75b6e4942f2ba52337df075 (diff) |
XubString->OUString
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r-- | vcl/source/control/edit.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index ffd256a8e729..fe5f8b363c7f 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2227,8 +2227,8 @@ void Edit::Command( const CommandEvent& rCEvt ) maText.insert( mpIMEInfos->nPos, pData->GetText() ); if ( mpIMEInfos->bWasCursorOverwrite ) { - sal_uInt16 nOldIMETextLen = mpIMEInfos->nLen; - sal_uInt16 nNewIMETextLen = pData->GetText().Len(); + sal_Int32 nOldIMETextLen = mpIMEInfos->nLen; + sal_Int32 nNewIMETextLen = pData->GetText().getLength(); if ( ( nOldIMETextLen > nNewIMETextLen ) && ( nNewIMETextLen < mpIMEInfos->aOldTextAfterStartPos.getLength() ) ) { @@ -2250,7 +2250,7 @@ void Edit::Command( const CommandEvent& rCEvt ) if ( pData->GetTextAttr() ) { - mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().Len() ); + mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().getLength() ); mpIMEInfos->bCursor = pData->IsCursorVisible(); } else |