[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - xmloff/source

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Mar 6 02:34:22 PST 2013


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

New commits:
commit 9a1860a28e2e183b67338a47f8cb37d4e896cc42
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
    Reviewed-on: https://gerrit.libreoffice.org/2560
    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 2218931..0b9b205 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 )


More information about the Libreoffice-commits mailing list