[Libreoffice-commits] core.git: xmloff/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 4 03:58:08 PST 2013


 xmloff/source/chart/SchXMLPlotAreaContext.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 53630966cca9f88cff01c6607abc7e6ed0cca877
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Mar 4 12:53:01 2013 +0100

    another fix for error bar import, related fdo#60083
    
    Change-Id: I843a597702cb0cb66d8696c277666e1605091c09

diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 52d58f8..463308a 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 )


More information about the Libreoffice-commits mailing list