summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-11 21:38:50 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-27 17:39:16 +0200
commit9f0bf9c7660815c149355f07a03399f59a5a85f0 (patch)
treedcb98da6db8a903d26cded9f07f764afbc891f1f
parent529f002af0c49aeddf17735615623a58d7374172 (diff)
import the background color
Change-Id: I63dfc5b879abcb63cc4d0d67389467d76f94bca9
-rw-r--r--sc/source/filter/orcus/interface.cxx5
1 files changed, 4 insertions, 1 deletions
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():