[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - xmloff/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Mar 6 02:30:42 PST 2013
xmloff/source/chart/SchXMLPlotAreaContext.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit abcba0e9260aa3164b3c1a7e6ea741de5e1931b9
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sun Mar 3 09:08:01 2013 +0100
and one more fix for error bar import, related fdo#60083
Change-Id: I76ff4849137aaad175b3c95dce6644d612871201
Reviewed-on: https://gerrit.libreoffice.org/2559
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 4463ebf..2218931 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -1110,6 +1110,14 @@ void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, uno::Refere
aAny >>= aNegRange;
}
+ aAny = SchXMLTools::getPropertyFromContext("PercentageError",
+ pSeriesStyleContext, pStylesCtxt);
+ if( aAny.hasValue() && aBarStyle == com::sun::star::chart::ErrorBarStyle::RELATIVE )
+ {
+ xBarProp->setPropertyValue("PositiveError", aAny);
+ xBarProp->setPropertyValue("NegativeError", aAny);
+ }
+
switch(aBarStyle)
{
case com::sun::star::chart::ErrorBarStyle::ERROR_MARGIN:
More information about the Libreoffice-commits
mailing list