diff options
author | matteocam <matteo.campanelli@gmail.com> | 2014-06-16 15:52:24 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-06-30 22:54:43 +0200 |
commit | 9ab4387532a9bd0df49f3e619f44108dea952a38 (patch) | |
tree | 11634e787c19d34e099603197d07dde9d9ec73f7 /svx | |
parent | 6c1fc9e94e36b4f74136bc044cc9a4b72f79d53f (diff) |
Added Text Fill Color in TextDecoratedPrimitive2D
Change-Id: I8c3946c08d20cc2ca2af6f17a2a57d6c9a5cfa23
(cherry picked from commit 00fc45e78d84dddf32b450441bf9028352ec9e52)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotextdecomposition.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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) |