XubString->OUString

Change-Id: I04c7da143425a9d8cc4fae155ad45a469df953c1
This commit is contained in:
Caolán McNamara
2013-08-11 17:00:11 +01:00
parent 3e9ae4da94
commit 9dd40c656f
39 changed files with 304 additions and 310 deletions

View File

@@ -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() );