summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2013-12-11 15:58:45 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2013-12-11 17:54:55 +0100
commit58b46086e64b6cbe288c146b017d5d4de1ce6db0 (patch)
treeb572631b83c4c61df3b3aecbe9ed6bff45114fa3
parent938657613982d0edecc1aa71e9314cff6a0bb56f (diff)
Remove unused SvXMLExport::mbEnableExperimentalOdfExport.
Change-Id: Ib2dbc4af73394c9c35a7f273fd8966b91ac3eb84
-rw-r--r--include/xmloff/xmlexp.hxx2
-rw-r--r--xmloff/source/core/xmlexp.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index 7ef8f3f7fd73..b80d0961a85e 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -149,7 +149,6 @@ class XMLOFF_DLLPUBLIC SvXMLExport : public ::cppu::WeakImplHelper6<
sal_uInt16 mnExportFlags;
sal_uInt16 mnErrorFlags;
- bool mbEnableExperimentalOdfExport;
public:
@@ -546,7 +545,6 @@ public:
// Written OpenDocument file format doesn't fit to the created text document (#i69627#)
sal_Bool writeOutlineStyleAsNormalListStyle() const;
- bool isExperimentalOdfExportEnabled() const { return mbEnableExperimentalOdfExport; }
::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > GetTargetStorage();
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 68811c168672..b92e7297beb9 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -408,8 +408,6 @@ void SvXMLExport::_InitCtor()
// Determine model type (#i51726#)
_DetermineModelType();
- mbEnableExperimentalOdfExport = getenv("ENABLE_EXPERIMENTAL_ODF_EXPORT") != NULL;
-
// cl: but only if we do export to current oasis format, old openoffice format *must* always be compatible
if( (getExportFlags() & EXPORT_OASIS) != 0 )
{