diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-12 23:07:23 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-12 23:25:24 +0100 |
commit | 6640bfc66dca7fdad8a038b32fa062bff34219b7 (patch) | |
tree | 857e306ee14678179e751b028eb05cf7725bb1ae | |
parent | d277ac87455a599fbf4acd3c6401f09bc74d3dac (diff) |
xmloff: SvXMLExport::mbExtended is dead now
Change-Id: Ie679259deccce87949d7bf8767af707827b4134c
-rw-r--r-- | include/xmloff/xmlexp.hxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx index 4c4e9efde031..f1cf97ed074d 100644 --- a/include/xmloff/xmlexp.hxx +++ b/include/xmloff/xmlexp.hxx @@ -154,8 +154,6 @@ class XMLOFF_DLLPUBLIC SvXMLExport : public ::cppu::WeakImplHelper6< XMLImageMapExport* mpImageMapExport; XMLErrors* mpXMLErrors; - bool mbExtended; // Does document contain extens. - const enum ::xmloff::token::XMLTokenEnum meClass; SAL_DLLPRIVATE void _InitCtor(); @@ -222,8 +220,6 @@ protected: OUString GetSourceShellID() const; OUString GetDestinationShellID() const; - void SetExtended( bool bSet=true ) { mbExtended = bSet; } - // save linked sections? (may be false in global documents) bool mbSaveLinkedSections; diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index 4a3d4796dabd..f8abc462efbb 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -131,7 +131,6 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) SwDoc *pDoc = getDoc(); - bool bExtended = false; if( getExportFlags() & (SvXMLExportFlags::FONTDECLS|SvXMLExportFlags::STYLES| SvXMLExportFlags::MASTERSTYLES|SvXMLExportFlags::CONTENT)) { @@ -174,7 +173,6 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) pUnknown->GetNamespace( nIdx ) ); nIdx = pUnknown->GetNextNamespaceIndex( nIdx ); } - bExtended = true; } } } @@ -189,8 +187,6 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass ) pTwipUnitConv->SetXMLMeasureUnit( eUnit ); } - SetExtended( bExtended ); - if( getExportFlags() & SvXMLExportFlags::META) { // Update doc stat, so that correct values are exported and diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 012190e81fb4..389cb7eb9f33 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -450,7 +450,6 @@ SvXMLExport::SvXMLExport( mpEventExport( nullptr ), mpImageMapExport( nullptr ), mpXMLErrors( nullptr ), - mbExtended( false ), meClass( eClass ), mnExportFlags( nExportFlags ), mnErrorFlags( SvXMLErrorFlags::NO ), @@ -481,7 +480,6 @@ SvXMLExport::SvXMLExport( mpEventExport( nullptr ), mpImageMapExport( nullptr ), mpXMLErrors( nullptr ), - mbExtended( false ), meClass( XML_TOKEN_INVALID ), mnExportFlags( SvXMLExportFlags::NONE ), mnErrorFlags( SvXMLErrorFlags::NO ), @@ -520,7 +518,6 @@ SvXMLExport::SvXMLExport( mpEventExport( nullptr ), mpImageMapExport( nullptr ), mpXMLErrors( nullptr ), - mbExtended( false ), meClass( XML_TOKEN_INVALID ), mnExportFlags( SvXMLExportFlags::NONE ), mnErrorFlags( SvXMLErrorFlags::NO ), |