diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-04 12:53:01 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-06 10:34:01 +0000 |
commit | 9a1860a28e2e183b67338a47f8cb37d4e896cc42 (patch) | |
tree | 70df715ac4b17a322489646a47ff70f8fada10e0 /xmloff | |
parent | abcba0e9260aa3164b3c1a7e6ea741de5e1931b9 (diff) |
another fix for error bar import, related fdo#60083
Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
Reviewed-on: https://gerrit.libreoffice.org/2560
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 221893142b9c..0b9b2055f1d9 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -1110,6 +1110,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 ) |