summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-06-04 07:58:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-06-04 07:58:01 +0200
commitc3b12e24ce5e62e05d524a338e1c17f8e7a53f53 (patch)
treede7c267ba1169a78a07e31d1191d38eccbc1e256 /editeng
parent0eaed74b10714c005ea28db4ecb4cb92f56ca0d8 (diff)
Fix call of getLength
Change-Id: I5fb5bc5016bd2779643ecfcf2df40e00c4741a2c
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 9bac785833f7..83e568904bfa 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -1011,7 +1011,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
if ( pPortion->GetSize().Width() > nXWidth )
{
sal_Int32 nWidthOrg = pPortion->GetSize().Width();
- sal_Int32 nChars = aFieldValue.Len();
+ sal_Int32 nChars = aFieldValue.getLength();
sal_Int32 nApproxWC = nXWidth / ( nWidthOrg / nChars );
ExtraPortionInfo *pExtraInfo= pPortion->GetExtraInfos();
if( !nApproxWC ) nApproxWC++;
@@ -1030,7 +1030,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_uInt16 nPara, sal_uInt32 nStartPosY )
while( nChars > 0 )
{
- pExtraInfo->lineBreaksList.push_back( aFieldValue.Len() - nChars );
+ pExtraInfo->lineBreaksList.push_back( aFieldValue.getLength() - nChars );
nChars -= nApproxWC;
}
}