summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotextdecomposition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdotextdecomposition.cxx')
-rw-r--r--svx/source/svdraw/svdotextdecomposition.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx
index 75238f69ac68..9384184cf041 100644
--- a/svx/source/svdraw/svdotextdecomposition.cxx
+++ b/svx/source/svdraw/svdotextdecomposition.cxx
@@ -174,7 +174,7 @@ namespace
void impTextBreakupHandler::impCreateTextPortionPrimitive(const DrawPortionInfo& rInfo)
{
- if(rInfo.mrText.Len() && rInfo.mnTextLen)
+ if(!rInfo.maText.isEmpty() && rInfo.mnTextLen)
{
basegfx::B2DVector aFontScaling;
drawinglayer::attribute::FontAttribute aFontAttribute(
@@ -327,7 +327,7 @@ namespace
// attributes for TextSimplePortionPrimitive2D
aNewTransform,
- rInfo.mrText,
+ rInfo.maText,
rInfo.mnTextStart,
rInfo.mnTextLen,
aDXArray,
@@ -354,7 +354,7 @@ namespace
// TextSimplePortionPrimitive2D is enough
pNewPrimitive = new drawinglayer::primitive2d::TextSimplePortionPrimitive2D(
aNewTransform,
- rInfo.mrText,
+ rInfo.maText,
rInfo.mnTextStart,
rInfo.mnTextLen,
aDXArray,
@@ -584,7 +584,7 @@ namespace
const basegfx::B2DRange aTextBoundRect(
aTextLayouterDevice.getTextBoundRect(
- pInfo->mrText, pInfo->mnTextStart, pInfo->mnTextLen));
+ pInfo->maText, pInfo->mnTextStart, pInfo->mnTextLen));
const basegfx::B2DPoint aTopLeft(aTextBoundRect.getMinimum() + aStartPosition);
if(!maClipRange.isInside(aTopLeft))