[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - oox/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed May 1 19:53:18 PDT 2013
oox/source/export/chartexport.cxx | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
New commits:
commit 4f6efe9cb4d0d91a0ea94a86b7a068000dceb602
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Apr 29 16:12:33 2013 +0200
c:delete is true by default in Excel
One step closer to opening my simple test file correctly in Excel.
Change-Id: I1bfa76a46081ba478e44d8d90d8a91790a9a9ff3
(cherry picked from commit 6ddd7fccdc8fc292200e581dbc4e456ec86cef47)
Reviewed-on: https://gerrit.libreoffice.org/3685
Reviewed-by: Kohei Yoshida <kohei.yoshida at suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 5211a76..5d11695 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2084,13 +2084,9 @@ void ChartExport::_exportAxis(
OUString ("Visible")) >>= bVisible;
}
- if( !bVisible )
- {
- // other value?
- pFS->singleElement( FSNS( XML_c, XML_delete ),
- XML_val, "1",
+ pFS->singleElement( FSNS( XML_c, XML_delete ),
+ XML_val, bVisible ? "0" : "1",
FSEND );
- }
// FIXME: axPos, need to check the property "ReverseDirection"
pFS->singleElement( FSNS( XML_c, XML_axPos ),
More information about the Libreoffice-commits
mailing list