[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Jan 21 07:58:57 PST 2013
sc/source/filter/xml/xmlcondformat.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 8d05dbf0fe49a4ab930549bae165bc5b924d6745
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sun Jan 20 10:56:10 2013 +0100
add missing data bar axis import, fdo#59578
Change-Id: Id035741b2372c76f9afe54f59f2203c5edfbb0ae
Reviewed-on: https://gerrit.libreoffice.org/1781
Reviewed-by: Petr Mladek <pmladek at suse.cz>
Tested-by: Petr Mladek <pmladek at suse.cz>
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 @@ ScXMLDataBarFormatContext::ScXMLDataBarFormatContext( ScXMLImport& rImport, sal_
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;
More information about the Libreoffice-commits
mailing list