From 9ab4387532a9bd0df49f3e619f44108dea952a38 Mon Sep 17 00:00:00 2001 From: matteocam Date: Mon, 16 Jun 2014 15:52:24 +0200 Subject: Added Text Fill Color in TextDecoratedPrimitive2D Change-Id: I8c3946c08d20cc2ca2af6f17a2a57d6c9a5cfa23 (cherry picked from commit 00fc45e78d84dddf32b450441bf9028352ec9e52) --- svx/source/svdraw/svdotextdecomposition.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'svx/source/svdraw') diff --git a/svx/source/svdraw/svdotextdecomposition.cxx b/svx/source/svdraw/svdotextdecomposition.cxx index 9547cfa76a2f..cb49a50831d3 100644 --- a/svx/source/svdraw/svdotextdecomposition.cxx +++ b/svx/source/svdraw/svdotextdecomposition.cxx @@ -260,7 +260,7 @@ namespace const basegfx::BColor aBFontColor(aFontColor.getBColor()); const Color aTextFillColor(rInfo.mrFont.GetFillColor()); - const basegfx::BColor aBTextFill(aTextFillColor.getBColor()); + const basegfx::BColor aBTextFillColor(aTextFillColor.getBColor()); // prepare wordLineMode (for underline and strikeout) // NOT for bullet texts. It is set (this may be an error by itself), but needs to be suppressed to hinder e.g. '1)' @@ -340,6 +340,7 @@ namespace aFontAttribute, rInfo.mpLocale ? *rInfo.mpLocale : ::com::sun::star::lang::Locale(), aBFontColor, + aBTextFillColor, // attributes for TextDecoratedPortionPrimitive2D aBOverlineColor, @@ -368,7 +369,8 @@ namespace rInfo.mpLocale ? *rInfo.mpLocale : ::com::sun::star::lang::Locale(), aBFontColor, rInfo.mbFilled, - rInfo.mnWidthToFill); + rInfo.mnWidthToFill, + aBTextFillColor); } if(rInfo.mbEndOfBullet) -- cgit