summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-04-28 18:04:14 +0200
committerMichael Stahl <michael.stahl@cib.de>2020-05-18 18:19:03 +0200
commita541cd91951eca15e40764244b34c72b347f9f26 (patch)
tree4bc8d4dae54b42a65bd65239dc5283bcb667b23b /unotools
parent101594c272a53727566b3533fd083178769a4b49 (diff)
officecfg,unotools,cui: add ODF 1.2 Extended / ODF 1.3 versions
... to configuration and UI. The new default is ODF 1.3 Extended, which is now ODFVER_LATEST and stored as value "3" in configuration. Adapt a few places related to DocumentDigitalSignatures etc. to new default. Change-Id: I420da4f7787cc864c6bd88470d61b146b9399aa1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93177 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/saveopt.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index 6d6b39743eb9..d8f4d37dd790 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -955,6 +955,10 @@ SvtSaveOptions::ODFSaneDefaultVersion SvtSaveOptions::GetODFSaneDefaultVersion()
return ODFSVER_012;
case ODFVER_012_EXT_COMPAT:
return ODFSVER_012_EXT_COMPAT;
+ case ODFVER_012_EXTENDED:
+ return ODFSVER_012_EXTENDED;
+ case ODFVER_013:
+ return ODFSVER_013;
}
return ODFSVER_LATEST_EXTENDED;
}