diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-04-21 18:57:52 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-05-07 19:01:01 +0200 |
commit | 45f2e81c98a5b7fe6f021923fd93d20b3c5f3815 (patch) | |
tree | 21bd3ac8aeeb7fef7c88c59c02fdb1ad7d2366b3 /dbaccess/source | |
parent | 6ba74150866d71469827de9f4f19268dfa7db137 (diff) |
replace ODFDefaultVersion usage with ODFSaneDefaultVersion
Compare with ODFSVER_012 mostly works the same, except for places where
namespaces are defined where the ODFSVER_EXTENDED bit should be checked.
Change-Id: I86469b763bc2f903632976bc9d6ec04d543d705e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92727
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 922513a99e8d..ac21fa4c809f 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -1658,11 +1658,11 @@ void ODatabaseDocument::impl_writeStorage_throw( const Reference< XStorage >& _r xProp->setPropertyValue( INFO_MEDIATYPE, makeAny( OUString(MIMETYPE_OASIS_OPENDOCUMENT_DATABASE_ASCII) ) ); OUString aVersion; - SvtSaveOptions::ODFDefaultVersion const nDefVersion = - aSaveOpt.GetODFDefaultVersion(); + SvtSaveOptions::ODFSaneDefaultVersion const nDefVersion = + aSaveOpt.GetODFSaneDefaultVersion(); // older versions can not have this property set, // it exists only starting from ODF1.2 - if (nDefVersion >= SvtSaveOptions::ODFVER_012) + if (nDefVersion >= SvtSaveOptions::ODFSVER_012) aVersion = ODFVER_012_TEXT; if (!aVersion.isEmpty()) |