[Libreoffice-commits] core.git: include/xmloff xmloff/source
Michael Stahl (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 15 15:54:55 UTC 2020
include/xmloff/xmlexp.hxx | 3 ---
xmloff/source/core/xmlexp.cxx | 10 ----------
2 files changed, 13 deletions(-)
New commits:
commit bb6af185cb7a88dfc73ad067d928625f0a2ed590
Author: Michael Stahl <Michael.Stahl at cib.de>
AuthorDate: Tue Apr 28 15:03:42 2020 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri May 15 17:54:17 2020 +0200
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 at cib.de>
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 )
More information about the Libreoffice-commits
mailing list