Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2559

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/59/2559/1

and one more fix for error bar import, related fdo#60083

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



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

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

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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to