summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-06-03 14:43:40 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:40 +0200
commit39c84aafd3dd803c4d284a69d086c933dad03c84 (patch)
treed7dce2a7a4b791af959bfdcd56ecb1951161640e /editeng
parent2f54ab70890c7e034fac623701f78ee80ff6fae3 (diff)
ItemSet includes Background Color in SetFontInfoInItemSet
Change-Id: I0a5f5cebccc73eb3c0877fae0086861ac5b93d3d (cherry picked from commit c52d374be19130c123d8316be6dac51219296abd)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editeng.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 20c55c635e71..7b4d94a8074f 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2600,6 +2600,7 @@ void EditEngine::SetFontInfoInItemSet( SfxItemSet& rSet, const SvxFont& rFont )
rSet.Put( SvxEscapementItem( rFont.GetEscapement(), rFont.GetPropr(), EE_CHAR_ESCAPEMENT ) );
rSet.Put( SvxWeightItem( rFont.GetWeight(), EE_CHAR_WEIGHT ) );
rSet.Put( SvxColorItem( rFont.GetColor(), EE_CHAR_COLOR ) );
+ rSet.Put( SvxBackgroundColorItem( rFont.GetFillColor(), EE_CHAR_COLOR ) );
rSet.Put( SvxUnderlineItem( rFont.GetUnderline(), EE_CHAR_UNDERLINE ) );
rSet.Put( SvxOverlineItem( rFont.GetOverline(), EE_CHAR_OVERLINE ) );
rSet.Put( SvxCrossedOutItem( rFont.GetStrikeout(), EE_CHAR_STRIKEOUT ) );