From 9f0bf9c7660815c149355f07a03399f59a5a85f0 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 11 Jan 2015 21:38:50 +0100 Subject: import the background color Change-Id: I63dfc5b879abcb63cc4d0d67389467d76f94bca9 --- sc/source/filter/orcus/interface.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 718fa4c5ec5b..7e4987babe73 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -608,9 +608,12 @@ void ScOrcusStyles::font::applyToItemSet(SfxItemSet& rSet) const void ScOrcusStyles::fill::applyToItemSet(SfxItemSet& rSet) const { if (maPattern.equalsIgnoreAsciiCase("none")) + { + SAL_INFO("sc.orcus.style", "no fill style"); return; + } - rSet.Put(SvxBrushItem(maFgColor, ATTR_BACKGROUND)); + rSet.Put(SvxBrushItem(maBgColor, ATTR_BACKGROUND)); } ScOrcusStyles::protection::protection(): -- cgit v1.2.3