From 04d58ef75a5e6fd7066fcfd257d907f52e4de5a7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 23 Jan 2012 21:44:20 +0000 Subject: String->rtl::OUString --- drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index f1f00f6a7c91..448ae143a493 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -1984,7 +1984,7 @@ namespace const MetaTextAction* pA = (const MetaTextAction*)pAction; sal_uInt32 nTextLength(pA->GetLen()); const sal_uInt32 nTextIndex(pA->GetIndex()); - const sal_uInt32 nStringLength(pA->GetText().Len()); + const sal_uInt32 nStringLength(pA->GetText().getLength()); if(nTextLength + nTextIndex > nStringLength) { @@ -2012,7 +2012,7 @@ namespace const MetaTextArrayAction* pA = (const MetaTextArrayAction*)pAction; sal_uInt32 nTextLength(pA->GetLen()); const sal_uInt32 nTextIndex(pA->GetIndex()); - const sal_uInt32 nStringLength(pA->GetText().Len()); + const sal_uInt32 nStringLength(pA->GetText().getLength()); if(nTextLength + nTextIndex > nStringLength) { @@ -2060,7 +2060,7 @@ namespace const MetaStretchTextAction* pA = (const MetaStretchTextAction*)pAction; sal_uInt32 nTextLength(pA->GetLen()); const sal_uInt32 nTextIndex(pA->GetIndex()); - const sal_uInt32 nStringLength(pA->GetText().Len()); + const sal_uInt32 nStringLength(pA->GetText().getLength()); if(nTextLength + nTextIndex > nStringLength) { @@ -2116,7 +2116,7 @@ namespace // OSL_FAIL("META_TEXTRECT_ACTION requested (!)"); const MetaTextRectAction* pA = (const MetaTextRectAction*)pAction; const Rectangle& rRectangle = pA->GetRect(); - const sal_uInt32 nStringLength(pA->GetText().Len()); + const sal_uInt32 nStringLength(pA->GetText().getLength()); if(!rRectangle.IsEmpty() && 0 != nStringLength) { -- cgit v1.2.3