summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-11 21:38:50 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-11 21:38:50 +0100
commit77c3aaf173a96400d3d03f50d0b980db7f8b95d7 (patch)
tree05f5a49eab198a24d6bfab22f66839b139a9c43b
parent3bdd41b10b9b7117d4654b96376daece9eb58c96 (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 1088260a553b..c043a3b8ca2a 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -606,9 +606,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():