[PATCH libreoffice-4-0] another fix for error bar import, related fdo#60083

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Tue Mar 5 23:50:20 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2560

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/60/2560/1

another fix for error bar import, related fdo#60083

Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
---
M xmloff/source/chart/SchXMLPlotAreaContext.cxx
1 file changed, 7 insertions(+), 0 deletions(-)



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 @@
             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 )

-- 
To view, visit https://gerrit.libreoffice.org/2560
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I843a597702cb0cb66d8696c277666e1605091c09
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list