summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-03-15 13:34:42 +0100
committerEike Rathke <erack@redhat.com>2016-03-15 13:49:12 +0100
commit4d857425e0a149f88d3036bdb19b72c7f267efa4 (patch)
tree9b07b79c492675ebcde63d8cfa933a334e186bf5 /xmloff
parentb78fa03d34734925167112d8ceb6a8b53d6d7735 (diff)
define ODFSVER_LATEST at a central place
It's already enough to have to adapt the SvtSaveOptions::GetODFSaneDefaultVersion() mapping for new ODFDefaultVersion values, get rid of the SvXMLExport::getSaneDefaultVersion() place. In the hope that DO NOT USE is taken seriously.. Change-Id: I1eeae698249f68cc375b22cc4cc799107bc14e41
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 12f4a1477648..81f0656aaa89 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -2370,7 +2370,7 @@ SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion() const
return mpImpl->maSaveOptions.GetODFSaneDefaultVersion();
// fatal error, use current version as default
- return SvtSaveOptions::ODFSVER_012;
+ return SvtSaveOptions::ODFSVER_LATEST;
}
OUString SvXMLExport::GetStreamName() const