summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/textprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/textprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/textprimitive2d.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/textprimitive2d.cxx b/drawinglayer/source/primitive2d/textprimitive2d.cxx
index 48fe07ac8987..67deaed3649f 100644
--- a/drawinglayer/source/primitive2d/textprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/textprimitive2d.cxx
@@ -204,8 +204,7 @@ TextSimplePortionPrimitive2D::TextSimplePortionPrimitive2D(
const attribute::FontAttribute& rFontAttribute, const css::lang::Locale& rLocale,
const basegfx::BColor& rFontColor, bool bFilled, tools::Long nWidthToFill,
const Color& rTextFillColor)
- : BufferedDecompositionPrimitive2D()
- , maTextTransform(rNewTransform)
+ : maTextTransform(rNewTransform)
, maText(rText)
, mnTextPosition(nTextPosition)
, mnTextLength(nTextLength)
@@ -216,7 +215,6 @@ TextSimplePortionPrimitive2D::TextSimplePortionPrimitive2D(
, mbFilled(bFilled)
, mnWidthToFill(nWidthToFill)
, maTextFillColor(rTextFillColor)
- , maB2DRange()
{
#if OSL_DEBUG_LEVEL > 0
const sal_Int32 aStringLength(getText().getLength());