summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-20 02:14:17 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-20 02:15:22 +0200
commit15fcf82a116288a98460647786f603b30f0123bb (patch)
tree3a0d87d0486bf805b3764bb9f3db047047248b65 /chart2/source
parent89c03990a8be2101632b872a5d21b276f316a457 (diff)
also need to call updateFillColor to get the UI in order
Change-Id: I689d84ef58faeb4b36159c6370b5e97a13d39736
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/sidebar/ChartAreaPanel.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 6377e64fb356..9ff480ab4bf3 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -435,6 +435,11 @@ void ChartAreaPanel::updateData()
updateFillFloatTransparence(false, true, &aFillFloatTransparenceItem);
maFillColorWrapper.updateData();
+
+ sal_uInt32 nFillColor;
+ xPropSet->getPropertyValue("FillColor") >>= nFillColor;
+ XFillColorItem aFillColorItem("", Color(nFillColor));
+ updateFillColor(true, &aFillColorItem);
}
void ChartAreaPanel::modelInvalid()