[PATCH] Change in core[libreoffice-4-0]: add missing data bar axis import, fdo#59578

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Sun Jan 20 02:27:10 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1781

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/81/1781/1

add missing data bar axis import, fdo#59578

Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
---
M sc/source/filter/xml/xmlcondformat.cxx
1 file changed, 8 insertions(+), 0 deletions(-)



diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx
index 8b97a78..ae0c2d7 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -254,6 +254,14 @@
     else
         mpFormatData->mbNeg = false;
 
+    if(!sAxisPosition.isEmpty())
+    {
+        if(sAxisPosition == "middle")
+            mpFormatData->meAxisPosition = databar::MIDDLE;
+        else if (sAxisPosition == "none")
+            mpFormatData->meAxisPosition = databar::NONE;
+    }
+
     if(!sAxisColor.isEmpty())
     {
         sal_Int32 nColor = 0;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
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