summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-11 17:00:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-12 08:32:59 +0100
commit9dd40c656feda2ccadb07d618a95b9ff63ab61ff (patch)
tree84b5e0e3bd48909413c074d52c4bc08a46cfabce /editeng
parent3e9ae4da947cd9c3f75b6e4942f2ba52337df075 (diff)
XubString->OUString
Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index a421372b6813..1297b7816f4c 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -419,8 +419,8 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView )
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.Len() ) )
@@ -449,13 +449,13 @@ void ImpEditEngine::Command( const CommandEvent& rCEvt, EditView* pView )
}
if ( pData->GetTextAttr() )
{
- mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().Len() );
+ mpIMEInfos->CopyAttribs( pData->GetTextAttr(), pData->GetText().getLength() );
mpIMEInfos->bCursor = pData->IsCursorVisible();
}
else
{
mpIMEInfos->DestroyAttribs();
- mpIMEInfos->nLen = pData->GetText().Len();
+ mpIMEInfos->nLen = pData->GetText().getLength();
}
ParaPortion* pPortion = FindParaPortion( mpIMEInfos->aPos.GetNode() );