diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-04-24 18:32:11 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-05-09 09:17:36 +0200 |
commit | 7c20c3c2a9fc85c66dad9d09908b257beeedd78d (patch) | |
tree | 84d07d36ea2c72df61afa031657db2535da363a0 /sw/source/filter/xml/xmlexp.cxx | |
parent | 21ac2dae6a84b2c686abdbefb5d9bd10fed42680 (diff) |
xmloff: ODF export: adapt all checks of ODFSVER_012 etc.
Most of these actually want to check ODFSVER_EXTENDED because the
extension didn't get into ODF 1.3.
Change-Id: I1b625a329f7a3d146c616c62c15b56e2c314c2c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92872
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index f966da56d26e..f1e6509798c4 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -125,7 +125,7 @@ ErrCode SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) if( getExportFlags() & (SvXMLExportFlags::FONTDECLS|SvXMLExportFlags::STYLES| SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::CONTENT)) { - if (getSaneDefaultVersion() > SvtSaveOptions::ODFSVER_012) + if (getSaneDefaultVersion() & SvtSaveOptions::ODFSVER_EXTENDED) { GetNamespaceMap_().Add( GetXMLToken(XML_NP_OFFICE_EXT), |