[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 20 01:57:23 PST 2013
sc/source/filter/xml/xmlcondformat.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit d7728bb63086a73594fb59d6b0d55cf4975f0fc1
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
diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx
index e3f3903..1f0a31b 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