summaryrefslogtreecommitdiff
path: root/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx')
-rw-r--r--svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
index 6e39be6bfc80..d1b8a003474e 100644
--- a/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrtextprimitive2d.cxx
@@ -194,7 +194,7 @@ namespace drawinglayer
// #i101443# check change of TextBackgroundolor
if(!bDoDelete && getSdrText() && getSdrText()->GetModel())
{
- SdrOutliner& rDrawOutliner = getSdrText()->GetModel()->GetDrawOutliner(0);
+ SdrOutliner& rDrawOutliner = getSdrText()->GetModel()->GetDrawOutliner();
aNewTextBackgroundColor = rDrawOutliner.GetBackgroundColor();
bNewTextBackgroundColorIsSet = true;
@@ -229,7 +229,7 @@ namespace drawinglayer
if(!bNewTextBackgroundColorIsSet && getSdrText() && getSdrText()->GetModel())
{
- SdrOutliner& rDrawOutliner = getSdrText()->GetModel()->GetDrawOutliner(0);
+ SdrOutliner& rDrawOutliner = getSdrText()->GetModel()->GetDrawOutliner();
aNewTextBackgroundColor = rDrawOutliner.GetBackgroundColor();
}