summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-04 12:53:01 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-04 12:57:24 +0100
commit53630966cca9f88cff01c6607abc7e6ed0cca877 (patch)
tree391b070960df9f04badf30e280d82b2140f25804 /xmloff
parent4a0a0bf65ab8fb1ae9426f80d1b0ca920719d607 (diff)
another fix for error bar import, related fdo#60083
Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 52d58f8a5831..463308ac9f80 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -1111,6 +1111,13 @@ void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, uno::Refere
aAny >>= aNegRange;
}
+ aAny = SchXMLTools::getPropertyFromContext("Weight",
+ pSeriesStyleContext, pStylesCtxt);
+ if( aAny.hasValue() )
+ {
+ xBarProp->setPropertyValue("Weight", aAny);
+ }
+
aAny = SchXMLTools::getPropertyFromContext("PercentageError",
pSeriesStyleContext, pStylesCtxt);
if( aAny.hasValue() && aBarStyle == com::sun::star::chart::ErrorBarStyle::RELATIVE )