summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2020-04-28 15:03:42 +0200
committerTor Lillqvist <tml@collabora.com>2020-05-15 17:54:17 +0200
commitbb6af185cb7a88dfc73ad067d928625f0a2ed590 (patch)
tree9591e465487aa08d1f93aebbd7e81d8db9799113
parent86cd3af48f8c00300d9826f3b7364e8447adb34e (diff)
xmloff: remove unused SvXMLExport::getDefaultVersion()
Change-Id: I52e904ca32f46ec50c3045260be7824aa782cc9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93090 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
-rw-r--r--include/xmloff/xmlexp.hxx3
-rw-r--r--xmloff/source/core/xmlexp.cxx10
2 files changed, 0 insertions, 13 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 58ff24299cec..f20409ad90c0 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -534,9 +534,6 @@ public:
/// returns value of ODF version attribute
char const* GetODFVersionAttributeValue() const;
- /// returns the currently configured default version for odf export
- SvtSaveOptions::ODFDefaultVersion getDefaultVersion() const;
-
/// returns the deterministic version for odf export
SvtSaveOptions::ODFSaneDefaultVersion getSaneDefaultVersion() const;
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index a9e49a5a8e34..3d3e8d93f455 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -2305,16 +2305,6 @@ uno::Reference< embed::XStorage > const & SvXMLExport::GetTargetStorage() const
return mpImpl->mxTargetStorage;
}
-/// returns the currently configured default version for ODF export
-SvtSaveOptions::ODFDefaultVersion SvXMLExport::getDefaultVersion() const
-{
- if( mpImpl )
- return mpImpl->maSaveOptions.GetODFDefaultVersion();
-
- // fatal error, use current version as default
- return SvtSaveOptions::ODFVER_012;
-}
-
SvtSaveOptions::ODFSaneDefaultVersion SvXMLExport::getSaneDefaultVersion() const
{
if( mpImpl )