summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-23 21:44:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-24 16:53:55 +0000
commit04d58ef75a5e6fd7066fcfd257d907f52e4de5a7 (patch)
tree5d4a01b7069c5963b4ba5a356731d81dcf08ceae /drawinglayer
parent7938b75ab7d8052b66859db05201cafc5175d95e (diff)
String->rtl::OUString
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx8
1 files changed, 4 insertions, 4 deletions
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)
{