testtools/source/bridgetest/bridgetest.cxx | 8 - testtools/source/bridgetest/currentcontextchecker.cxx | 4 toolkit/source/awt/vclxtoolkit.cxx | 10 - toolkit/source/controls/dialogcontrol.cxx | 5 toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 7 toolkit/source/controls/grid/defaultgriddatamodel.cxx | 7 toolkit/source/controls/tree/treedatamodel.cxx | 5 ucbhelper/source/client/proxydecider.cxx | 8 - unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx | 2 xmloff/source/chart/SchXMLAxisContext.cxx | 10 - xmloff/source/chart/SchXMLEnumConverter.cxx | 2 xmloff/source/chart/SchXMLSeries2Context.cxx | 5 xmloff/source/chart/SchXMLTableContext.cxx | 5 xmloff/source/chart/SchXMLTextListContext.cxx | 5 xmloff/source/chart/contexts.cxx | 5 xmloff/source/core/DocumentSettingsContext.cxx | 25 --- xmloff/source/core/PropertySetMerger.cxx | 5 xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 6 xmloff/source/core/xmlexp.cxx | 5 xmloff/source/core/xmlimp.cxx | 5 xmloff/source/draw/XMLImageMapContext.cxx | 18 -- xmloff/source/draw/XMLNumberStyles.cxx | 5 xmloff/source/draw/animationimport.cxx | 5 xmloff/source/draw/animimp.cxx | 11 - xmloff/source/draw/eventimp.cxx | 11 - xmloff/source/draw/layerimp.cxx | 5 xmloff/source/draw/sdpropls.cxx | 6 xmloff/source/draw/sdxmlimp.cxx | 16 -- xmloff/source/draw/ximpstyl.cxx | 11 - xmloff/source/meta/MetaImportComponent.cxx | 6 xmloff/source/meta/xmlmetai.cxx | 6 xmloff/source/script/xmlscripti.cxx | 5 xmloff/source/style/xmlnumfi.cxx | 20 -- xmloff/source/style/xmlnumi.cxx | 15 -- xmloff/source/style/xmltabi.cxx | 6 xmloff/source/table/XMLTableImport.cxx | 11 - xmloff/source/text/XMLTextColumnsContext.cxx | 13 - xmloff/source/text/XMLTextFrameContext.cxx | 21 -- xmloff/source/text/XMLTextShapeStyleContext.cxx | 6 xmloff/source/text/txtparai.cxx | 18 -- xmloff/source/text/txtprhdl.cxx | 71 ---------- xmloff/source/transform/ChartPlotAreaOASISTContext.cxx | 4 xmloff/source/transform/ChartPlotAreaOOoTContext.cxx | 4 xmloff/source/transform/FormPropOOoTContext.cxx | 6 xmloff/source/transform/MergeElemTContext.cxx | 10 - xmloff/source/transform/OOo2Oasis.cxx | 30 ---- xmloff/source/transform/Oasis2OOo.cxx | 30 ---- xmloff/source/transform/PersMixedContentTContext.cxx | 5 xmloff/source/transform/StyleOASISTContext.cxx | 6 xmloff/source/transform/StyleOOoTContext.cxx | 12 - 50 files changed, 1 insertion(+), 526 deletions(-)
New commits: commit 1222f58dcf817360abf3d24c2e1bca1613880b67 Author: Stephan Bergmann <[email protected]> Date: Thu Dec 1 08:54:56 2016 +0100 loplugin:unnecessaryoverride (dtors) in testtools Change-Id: If004c2c58cb92e211cea34b54c3c38c91ccb6e7d diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index bcccf4f..167719d 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -111,9 +111,6 @@ public: explicit TestBridgeImpl( const Reference< XComponentContext > & xContext ) : m_xContext( xContext ) {} - virtual ~TestBridgeImpl() override - { - } // XServiceInfo virtual OUString SAL_CALL getImplementationName() throw (RuntimeException, std::exception) override; @@ -339,7 +336,6 @@ class MyClass : public osl::DebugBase<MyClass>, public OWeakObject { public: MyClass(); - virtual ~MyClass() override; }; @@ -347,10 +343,6 @@ MyClass::MyClass() { } -MyClass::~MyClass() -{ -} - static bool performTest( const Reference<XComponentContext> & xContext, const Reference<XBridgeTest > & xLBT, diff --git a/testtools/source/bridgetest/currentcontextchecker.cxx b/testtools/source/bridgetest/currentcontextchecker.cxx index 114af51..5691335 100644 --- a/testtools/source/bridgetest/currentcontextchecker.cxx +++ b/testtools/source/bridgetest/currentcontextchecker.cxx @@ -48,8 +48,6 @@ class CurrentContext: public: CurrentContext(); - virtual ~CurrentContext() override; - CurrentContext(const CurrentContext&) = delete; CurrentContext& operator=(const CurrentContext&) = delete; @@ -59,8 +57,6 @@ public: CurrentContext::CurrentContext() {} -CurrentContext::~CurrentContext() {} - css::uno::Any CurrentContext::getValueByName(OUString const & Name) throw (css::uno::RuntimeException, std::exception) { commit 33c34f4b878ade73d3a1950433310713b7ff3923 Author: Stephan Bergmann <[email protected]> Date: Thu Dec 1 08:54:40 2016 +0100 loplugin:unnecessaryoverride (dtors) in toolkit Change-Id: Id95c044e75eccb0f394fd31e4776eda4c023341d diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 116e77c..1695a87 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -154,10 +154,6 @@ public: Start(); } - virtual ~Pause() override - { - } - virtual void Invoke() override { SolarMutexGuard aSolarGuard; @@ -219,7 +215,6 @@ protected: public: VCLXToolkit(); - virtual ~VCLXToolkit() override; // css::awt::XToolkitExperimental virtual void SAL_CALL processEventsToIdle() @@ -728,11 +723,6 @@ VCLXToolkit::VCLXToolkit(): } } -VCLXToolkit::~VCLXToolkit() -{ -} - - void SAL_CALL VCLXToolkit::disposing() { #ifndef DISABLE_DYNLOADING diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 8960377..e13026c 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -149,7 +149,6 @@ protected: public: explicit UnoControlDialogModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); UnoControlDialogModel( const UnoControlDialogModel& rModel ); - virtual ~UnoControlDialogModel() override; UnoControlModel* Clone() const override; // css::beans::XMultiPropertySet @@ -226,10 +225,6 @@ UnoControlDialogModel::UnoControlDialogModel( const UnoControlDialogModel& rMode setFastPropertyValue_NoBroadcast( BASEPROPERTY_USERFORMCONTAINEES, makeAny( xNameCont ) ); } -UnoControlDialogModel::~UnoControlDialogModel() -{ -} - UnoControlModel* UnoControlDialogModel::Clone() const { // clone the container itself diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index 6099359..5f3c21d 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -56,7 +56,6 @@ class DefaultGridColumnModel :public ::cppu::BaseMutex public: DefaultGridColumnModel(); DefaultGridColumnModel( DefaultGridColumnModel const & i_copySource ); - virtual ~DefaultGridColumnModel() override; // XGridColumnModel virtual ::sal_Int32 SAL_CALL getColumnCount() throw (css::uno::RuntimeException, std::exception) override; @@ -133,12 +132,6 @@ private: m_aColumns.swap( aColumns ); } - - DefaultGridColumnModel::~DefaultGridColumnModel() - { - } - - ::sal_Int32 SAL_CALL DefaultGridColumnModel::getColumnCount() throw (RuntimeException, std::exception) { return m_aColumns.size(); diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx index e5c7e00..4e96dfd 100644 --- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx +++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx @@ -53,7 +53,6 @@ class DefaultGridDataModel :public ::cppu::BaseMutex public: DefaultGridDataModel(); DefaultGridDataModel( DefaultGridDataModel const & i_copySource ); - virtual ~DefaultGridDataModel() override; // XMutableGridDataModel virtual void SAL_CALL addRow( const Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) throw (css::uno::RuntimeException, std::exception) override; @@ -130,12 +129,6 @@ private: { } - - DefaultGridDataModel::~DefaultGridDataModel() - { - } - - void DefaultGridDataModel::broadcast( GridDataEvent const & i_event, void ( SAL_CALL XGridDataListener::*i_listenerMethod )( GridDataEvent const & ), ::comphelper::ComponentGuard & i_instanceLock ) { diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx index d58b6e1..0f925a5 100644 --- a/toolkit/source/controls/tree/treedatamodel.cxx +++ b/toolkit/source/controls/tree/treedatamodel.cxx @@ -49,7 +49,6 @@ class MutableTreeDataModel : public ::cppu::WeakAggImplHelper2< XMutableTreeData { public: MutableTreeDataModel(); - virtual ~MutableTreeDataModel() override; void broadcast( broadcast_type eType, const Reference< XTreeNode >& xParentNode, const Reference< XTreeNode >& rNode ); @@ -141,10 +140,6 @@ MutableTreeDataModel::MutableTreeDataModel() { } -MutableTreeDataModel::~MutableTreeDataModel() -{ -} - void MutableTreeDataModel::broadcast( broadcast_type eType, const Reference< XTreeNode >& xParentNode, const Reference< XTreeNode >& rNode ) { ::cppu::OInterfaceContainerHelper* pIter = BrdcstHelper.getContainer( cppu::UnoType<XTreeDataModelListener>::get() ); commit b97f01c545bdbb2490ffef267bcf202baff400b3 Author: Stephan Bergmann <[email protected]> Date: Thu Dec 1 08:54:20 2016 +0100 loplugin:unnecessaryoverride (dtors) in ucbhelper Change-Id: I7d77af190087e5f7190849c1e316c9d4f178a6c2 diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index e8a3b76..58d5a24 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -134,7 +134,6 @@ private: public: explicit InternetProxyDecider_Impl( const uno::Reference< uno::XComponentContext >& rxContext ); - virtual ~InternetProxyDecider_Impl() override; void dispose(); @@ -376,13 +375,6 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl( } } - -// virtual -InternetProxyDecider_Impl::~InternetProxyDecider_Impl() -{ -} - - void InternetProxyDecider_Impl::dispose() { uno::Reference< util::XChangesNotifier > xNotifier; commit 06ce64bdc4075168bc2d1311d2f59eb165bb2880 Author: Stephan Bergmann <[email protected]> Date: Thu Dec 1 08:54:05 2016 +0100 loplugin:unnecessaryoverride (dtors) in unotest Change-Id: Ib9114cafb3732d11017b98405d1ca60052801675 diff --git a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx index 3b29f39..68b3a07 100644 --- a/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx +++ b/unotest/source/cpp/unoexceptionprotector/unoexceptionprotector.cxx @@ -48,8 +48,6 @@ class Prot : public CppUnit::Protector public: Prot() {} - virtual ~Prot() override {} - Prot(const Prot&) = delete; Prot& operator=(const Prot&) = delete; commit 182dfdd00e283d3a9b125f23a5a538c6e73f7594 Author: Stephan Bergmann <[email protected]> Date: Thu Dec 1 08:53:50 2016 +0100 loplugin:unnecessaryoverride (dtors) in xmloff Change-Id: I351ff5955d766118e3a6b2234181774af0d1f522 diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx index f946cf5..3172b60 100644 --- a/xmloff/source/chart/SchXMLAxisContext.cxx +++ b/xmloff/source/chart/SchXMLAxisContext.cxx @@ -77,7 +77,6 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName, OUString& rAddress ); - virtual ~SchXMLCategoriesContext() override; virtual void StartElement( const Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; @@ -88,7 +87,6 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< beans::XPropertySet >& rAxisProps ); - virtual ~DateScaleContext() override; virtual void StartElement( const Reference< css::xml::sax::XAttributeList >& xAttrList ) override; private: @@ -850,10 +848,6 @@ SchXMLCategoriesContext::SchXMLCategoriesContext( { } -SchXMLCategoriesContext::~SchXMLCategoriesContext() -{ -} - void SchXMLCategoriesContext::StartElement( const Reference< xml::sax::XAttributeList >& xAttrList ) { sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0; @@ -883,10 +877,6 @@ DateScaleContext::DateScaleContext( { } -DateScaleContext::~DateScaleContext() -{ -} - namespace { enum DateScaleAttributeTokens diff --git a/xmloff/source/chart/SchXMLEnumConverter.cxx b/xmloff/source/chart/SchXMLEnumConverter.cxx index 65c5a4e..1e661d3 100644 --- a/xmloff/source/chart/SchXMLEnumConverter.cxx +++ b/xmloff/source/chart/SchXMLEnumConverter.cxx @@ -44,7 +44,6 @@ class XMLLegendPositionPropertyHdl : public XMLEnumPropertyHdl public: XMLLegendPositionPropertyHdl() : XMLEnumPropertyHdl( aXMLLegendPositionEnumMap, cppu::UnoType<chart::ChartLegendPosition>::get()) {} - virtual ~XMLLegendPositionPropertyHdl() override {}; }; struct TheLegendPositionPropertyHdl : public rtl::Static< XMLLegendPositionPropertyHdl, TheLegendPositionPropertyHdl > @@ -65,7 +64,6 @@ class XMLLegendExpansionPropertyHdl : public XMLEnumPropertyHdl public: XMLLegendExpansionPropertyHdl() : XMLEnumPropertyHdl( aXMLLegendExpansionEnumMap, cppu::UnoType<chart::ChartLegendExpansion>::get()) {} - virtual ~XMLLegendExpansionPropertyHdl() override {}; }; struct TheLegendExpansionPropertyHdl : public rtl::Static< XMLLegendExpansionPropertyHdl, TheLegendExpansionPropertyHdl > diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx index e4d8fe5..542255d 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.cxx +++ b/xmloff/source/chart/SchXMLSeries2Context.cxx @@ -73,7 +73,6 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName, ::std::vector< OUString > & rAddresses ); - virtual ~SchXMLDomain2Context() override; virtual void StartElement( const Reference< xml::sax::XAttributeList >& xAttrList ) override; }; @@ -87,10 +86,6 @@ SchXMLDomain2Context::SchXMLDomain2Context( { } -SchXMLDomain2Context::~SchXMLDomain2Context() -{ -} - void SchXMLDomain2Context::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList ) { sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0; diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index dde59ec..e5d1b6d 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -596,7 +596,6 @@ public: sal_uInt16 nPrefix, const OUString& rLocalName, OUString& rRangeString ); - virtual ~SchXMLRangeSomewhereContext() override; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, @@ -1095,10 +1094,6 @@ SchXMLRangeSomewhereContext::SchXMLRangeSomewhereContext( SvXMLImport& rImport, { } -SchXMLRangeSomewhereContext::~SchXMLRangeSomewhereContext() -{ -} - SvXMLImportContext* SchXMLRangeSomewhereContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/chart/SchXMLTextListContext.cxx b/xmloff/source/chart/SchXMLTextListContext.cxx index 5268d1b..020b772 100644 --- a/xmloff/source/chart/SchXMLTextListContext.cxx +++ b/xmloff/source/chart/SchXMLTextListContext.cxx @@ -34,7 +34,7 @@ class SchXMLListItemContext : public SvXMLImportContext { public: SchXMLListItemContext( SvXMLImport& rImport, const OUString& rLocalName, OUString& rText ); - virtual ~SchXMLListItemContext() override; + virtual void StartElement( const Reference< xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -56,9 +56,6 @@ SchXMLListItemContext::SchXMLListItemContext( { } -SchXMLListItemContext::~SchXMLListItemContext() -{} - void SchXMLListItemContext::StartElement( const Reference< xml::sax::XAttributeList >& /*xAttrList*/ ) { } diff --git a/xmloff/source/chart/contexts.cxx b/xmloff/source/chart/contexts.cxx index 484edf3..1d486da 100644 --- a/xmloff/source/chart/contexts.cxx +++ b/xmloff/source/chart/contexts.cxx @@ -41,7 +41,6 @@ public: SchXMLBodyContext_Impl( SchXMLImportHelper& rImpHelper, SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName ); - virtual ~SchXMLBodyContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -56,10 +55,6 @@ SchXMLBodyContext_Impl::SchXMLBodyContext_Impl( { } -SchXMLBodyContext_Impl::~SchXMLBodyContext_Impl() -{ -} - SvXMLImportContext *SchXMLBodyContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index aa5a9ed..cfb2bc0 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -130,7 +130,6 @@ public: XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); - virtual ~XMLConfigBaseContext() override; void AddPropertyValue() { maProps.push_back(maProp); } }; @@ -150,7 +149,6 @@ public: css::uno::Any& rAny, const OUString& rItemName, XMLConfigBaseContext* pBaseContext); - virtual ~XMLConfigItemContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -169,7 +167,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); - virtual ~XMLConfigItemSetContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -185,7 +182,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); - virtual ~XMLConfigItemMapNamedContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -206,7 +202,6 @@ public: css::uno::Any& rAny, const OUString& rConfigItemName, XMLConfigBaseContext* pBaseContext); - virtual ~XMLConfigItemMapIndexedContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -435,10 +430,6 @@ XMLConfigBaseContext::XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrf { } -XMLConfigBaseContext::~XMLConfigBaseContext() -{ -} - XMLConfigItemSetContext::XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList>&, @@ -449,10 +440,6 @@ XMLConfigItemSetContext::XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt1 // here are no attributes } -XMLConfigItemSetContext::~XMLConfigItemSetContext() -{ -} - SvXMLImportContext *XMLConfigItemSetContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) @@ -494,10 +481,6 @@ XMLConfigItemContext::XMLConfigItemContext(SvXMLImport& rImport, sal_uInt16 nPrf } } -XMLConfigItemContext::~XMLConfigItemContext() -{ -} - SvXMLImportContext *XMLConfigItemContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& ) @@ -661,10 +644,6 @@ XMLConfigItemMapNamedContext::XMLConfigItemMapNamedContext(SvXMLImport& rImport, { } -XMLConfigItemMapNamedContext::~XMLConfigItemMapNamedContext() -{ -} - SvXMLImportContext *XMLConfigItemMapNamedContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) @@ -695,10 +674,6 @@ XMLConfigItemMapIndexedContext::XMLConfigItemMapIndexedContext(SvXMLImport& rImp { } -XMLConfigItemMapIndexedContext::~XMLConfigItemMapIndexedContext() -{ -} - SvXMLImportContext *XMLConfigItemMapIndexedContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) diff --git a/xmloff/source/core/PropertySetMerger.cxx b/xmloff/source/core/PropertySetMerger.cxx index 6bda9b8..1cf9c56 100644 --- a/xmloff/source/core/PropertySetMerger.cxx +++ b/xmloff/source/core/PropertySetMerger.cxx @@ -40,7 +40,6 @@ private: public: PropertySetMergerImpl( const Reference< XPropertySet > & rPropSet1, const Reference< XPropertySet > & rPropSet2 ); - virtual ~PropertySetMergerImpl() override; // XPropertySet virtual Reference< XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(RuntimeException, std::exception) override; @@ -75,10 +74,6 @@ PropertySetMergerImpl::PropertySetMergerImpl( Reference< XPropertySet > const & { } -PropertySetMergerImpl::~PropertySetMergerImpl() -{ -} - // XPropertySet Reference< XPropertySetInfo > SAL_CALL PropertySetMergerImpl::getPropertySetInfo( ) throw(RuntimeException, std::exception) { diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx index b2637a9..0fd0011b 100644 --- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx +++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx @@ -78,8 +78,6 @@ public: const OUString& rLName, const css::uno::Reference< css::xml::sax::XDocumentHandler >& rHandler ); - virtual ~XMLEmbeddedObjectImportContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; @@ -101,10 +99,6 @@ XMLEmbeddedObjectImportContext_Impl::XMLEmbeddedObjectImportContext_Impl( { } -XMLEmbeddedObjectImportContext_Impl::~XMLEmbeddedObjectImportContext_Impl() -{ -} - SvXMLImportContext *XMLEmbeddedObjectImportContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index b1ca265..9af5b54 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -212,7 +212,6 @@ private: public: explicit SvXMLExportEventListener(SvXMLExport* pExport); - virtual ~SvXMLExportEventListener() override; // XEventListener virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(css::uno::RuntimeException, std::exception) override; @@ -223,10 +222,6 @@ SvXMLExportEventListener::SvXMLExportEventListener(SvXMLExport* pTempExport) { } -SvXMLExportEventListener::~SvXMLExportEventListener() -{ -} - // XEventListener void SAL_CALL SvXMLExportEventListener::disposing( const lang::EventObject& ) throw(uno::RuntimeException, std::exception) diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 9f17b99..6ce1378 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -82,7 +82,6 @@ private: public: explicit SvXMLImportEventListener(SvXMLImport* pImport); - virtual ~SvXMLImportEventListener() override; // XEventListener virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(css::uno::RuntimeException, std::exception) override; @@ -93,10 +92,6 @@ SvXMLImportEventListener::SvXMLImportEventListener(SvXMLImport* pTempImport) { } -SvXMLImportEventListener::~SvXMLImportEventListener() -{ -} - // XEventListener void SAL_CALL SvXMLImportEventListener::disposing( const lang::EventObject& ) throw(uno::RuntimeException, std::exception) diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx index 068643c..72adb5e 100644 --- a/xmloff/source/draw/XMLImageMapContext.cxx +++ b/xmloff/source/draw/XMLImageMapContext.cxx @@ -311,8 +311,6 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapRectangleContext() override; - protected: virtual void ProcessAttribute( enum XMLImageMapToken eToken, @@ -337,10 +335,6 @@ XMLImageMapRectangleContext::XMLImageMapRectangleContext( { } -XMLImageMapRectangleContext::~XMLImageMapRectangleContext() -{ -} - void XMLImageMapRectangleContext::ProcessAttribute( enum XMLImageMapToken eToken, const OUString& rValue) @@ -413,8 +407,6 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapPolygonContext() override; - protected: virtual void ProcessAttribute( enum XMLImageMapToken eToken, @@ -437,10 +429,6 @@ XMLImageMapPolygonContext::XMLImageMapPolygonContext( { } -XMLImageMapPolygonContext::~XMLImageMapPolygonContext() -{ -} - void XMLImageMapPolygonContext::ProcessAttribute( enum XMLImageMapToken eToken, const OUString& rValue) @@ -502,8 +490,6 @@ public: const OUString& rLocalName, css::uno::Reference<css::container::XIndexContainer> const & xMap); - virtual ~XMLImageMapCircleContext() override; - protected: virtual void ProcessAttribute( enum XMLImageMapToken eToken, @@ -528,10 +514,6 @@ XMLImageMapCircleContext::XMLImageMapCircleContext( { } -XMLImageMapCircleContext::~XMLImageMapCircleContext() -{ -} - void XMLImageMapCircleContext::ProcessAttribute( enum XMLImageMapToken eToken, const OUString& rValue) diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx index cd8f8fa..96ff3f6 100644 --- a/xmloff/source/draw/XMLNumberStyles.cxx +++ b/xmloff/source/draw/XMLNumberStyles.cxx @@ -495,7 +495,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, SdXMLNumberFormatImportContext* pParent, SvXMLImportContext* pSlaveContext ); - virtual ~SdXMLNumberFormatMemberImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -546,10 +545,6 @@ SdXMLNumberFormatMemberImportContext::SdXMLNumberFormatMemberImportContext( SvXM } -SdXMLNumberFormatMemberImportContext::~SdXMLNumberFormatMemberImportContext() -{ -} - SvXMLImportContext *SdXMLNumberFormatMemberImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 2b350ef..c4c113b 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -1248,7 +1248,6 @@ class AnimationsImport: public SvXMLImport, public XAnimationNodeSupplier { public: explicit AnimationsImport( const Reference< XComponentContext > & rxContext ); - virtual ~AnimationsImport() throw () override; SvXMLImportContext* CreateContext(sal_uInt16 nPrefix, const OUString& rLocalName, const Reference<XAttributeList>& xAttrList) override; @@ -1289,10 +1288,6 @@ AnimationsImport::AnimationsImport( const Reference< XComponentContext > & rxCon mxRootNode.set( SequenceTimeContainer::create(rxContext), UNO_QUERY_THROW ); } -AnimationsImport::~AnimationsImport() throw () -{ -} - // XInterface Any SAL_CALL AnimationsImport::queryInterface( const Type& aType ) throw (RuntimeException, std::exception) { diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx index 6b117e3..9424ec5 100644 --- a/xmloff/source/draw/animimp.cxx +++ b/xmloff/source/draw/animimp.cxx @@ -384,7 +384,6 @@ public: const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const std::shared_ptr<AnimImpImpl>& pImpl); - virtual ~XMLAnimationsEffectContext() override; virtual void EndElement() override; @@ -399,7 +398,6 @@ class XMLAnimationsSoundContext : public SvXMLImportContext public: XMLAnimationsSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, XMLAnimationsEffectContext* pParent ); - virtual ~XMLAnimationsSoundContext() override; }; @@ -434,11 +432,6 @@ XMLAnimationsSoundContext::XMLAnimationsSoundContext( SvXMLImport& rImport, sal_ } } -XMLAnimationsSoundContext::~XMLAnimationsSoundContext() -{ -} - - XMLAnimationsEffectContext::XMLAnimationsEffectContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const std::shared_ptr<AnimImpImpl>& pImpl ) : SvXMLImportContext(rImport, nPrfx, rLocalName), mpImpl( pImpl ), @@ -534,10 +527,6 @@ XMLAnimationsEffectContext::XMLAnimationsEffectContext( SvXMLImport& rImport, s } } -XMLAnimationsEffectContext::~XMLAnimationsEffectContext() -{ -} - SvXMLImportContext * XMLAnimationsEffectContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList ) { return new XMLAnimationsSoundContext( GetImport(), nPrefix, rLocalName, xAttrList, this ); diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx index 31eb727..0305de2 100644 --- a/xmloff/source/draw/eventimp.cxx +++ b/xmloff/source/draw/eventimp.cxx @@ -78,7 +78,6 @@ private: public: SdXMLEventContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList, const Reference< XShape >& rxShape ); - virtual ~SdXMLEventContext() override; virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList ) override; virtual void EndElement() override; @@ -105,7 +104,6 @@ class XMLEventSoundContext : public SvXMLImportContext public: XMLEventSoundContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, SdXMLEventContext* pParent ); - virtual ~XMLEventSoundContext() override; }; @@ -140,11 +138,6 @@ XMLEventSoundContext::XMLEventSoundContext( SvXMLImport& rImp, sal_uInt16 nPrfx, } } -XMLEventSoundContext::~XMLEventSoundContext() -{ -} - - SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const Reference< XShape >& rxShape ) : SvXMLImportContext(rImp, nPrfx, rLocalName) , mxShape(rxShape), mbValid(false), mbScript(false) @@ -262,10 +255,6 @@ SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, cons mbValid = !sEventName.isEmpty(); } -SdXMLEventContext::~SdXMLEventContext() -{ -} - SvXMLImportContext * SdXMLEventContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList>& xAttrList ) { return new XMLEventSoundContext( GetImport(), nPrefix, rLocalName, xAttrList, this ); diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index 065d6ee..0597b04 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -52,7 +52,6 @@ class SdXMLLayerContext : public SvXMLImportContext { public: SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const Reference< XNameAccess >& xLayerManager ); - virtual ~SdXMLLayerContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -86,10 +85,6 @@ SdXMLLayerContext::SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix, } -SdXMLLayerContext::~SdXMLLayerContext() -{ -} - SvXMLImportContext * SdXMLLayerContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& ) { if( (XML_NAMESPACE_SVG == nPrefix) && IsXMLToken(rLocalName, XML_TITLE) ) diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx index 72d6315..a53f078 100644 --- a/xmloff/source/draw/sdpropls.cxx +++ b/xmloff/source/draw/sdpropls.cxx @@ -810,16 +810,10 @@ bool XMLMoveSizeProtectHdl::exportXML( OUString& rStrExpValue, const Any& rValue class XMLSdHeaderFooterVisibilityTypeHdl : public XMLPropertyHandler { public: - virtual ~XMLSdHeaderFooterVisibilityTypeHdl() override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const override; }; -XMLSdHeaderFooterVisibilityTypeHdl::~XMLSdHeaderFooterVisibilityTypeHdl() -{ -} - bool XMLSdHeaderFooterVisibilityTypeHdl::importXML( const OUString& rStrImpValue, css::uno::Any& rValue, diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 92d40d4..276afb1 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -61,7 +61,6 @@ public: SdXMLBodyContext_Impl( SdXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SdXMLBodyContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -75,10 +74,6 @@ SdXMLBodyContext_Impl::SdXMLBodyContext_Impl( SdXMLImport& rImport, { } -SdXMLBodyContext_Impl::~SdXMLBodyContext_Impl() -{ -} - SvXMLImportContext *SdXMLBodyContext_Impl::CreateChildContext( sal_uInt16 /*nPrefix*/, const OUString& rLocalName, @@ -100,8 +95,6 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& xAttrList); - virtual ~SdXMLDocContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext(sal_uInt16 nPrefix, const OUString& rLocalName, @@ -117,11 +110,6 @@ SdXMLDocContext_Impl::SdXMLDocContext_Impl( { } -SdXMLDocContext_Impl::~SdXMLDocContext_Impl() -{ -} - - SvXMLImportContext *SdXMLDocContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -215,8 +203,6 @@ public: const uno::Reference<xml::sax::XAttributeList>& i_xAttrList, const uno::Reference<document::XDocumentProperties>& i_xDocProps); - virtual ~SdXMLFlatDocContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const uno::Reference<xml::sax::XAttributeList>& i_xAttrList) override; @@ -233,8 +219,6 @@ SdXMLFlatDocContext_Impl::SdXMLFlatDocContext_Impl( SdXMLImport& i_rImport, { } -SdXMLFlatDocContext_Impl::~SdXMLFlatDocContext_Impl() { } - SvXMLImportContext *SdXMLFlatDocContext_Impl::CreateChildContext( sal_uInt16 i_nPrefix, const OUString& i_rLocalName, const uno::Reference<xml::sax::XAttributeList>& i_xAttrList) diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 320ab09..82c0fc7 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -63,8 +63,6 @@ public: ::std::vector< XMLPropertyState > &rProps, const rtl::Reference < SvXMLImportPropertyMapper > &rMap ); - virtual ~SdXMLDrawingPagePropertySetContext() override; - using SvXMLPropertySetContext::CreateChildContext; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -85,10 +83,6 @@ SdXMLDrawingPagePropertySetContext::SdXMLDrawingPagePropertySetContext( { } -SdXMLDrawingPagePropertySetContext::~SdXMLDrawingPagePropertySetContext() -{ -} - SvXMLImportContext *SdXMLDrawingPagePropertySetContext::CreateChildContext( sal_uInt16 p_nPrefix, const OUString& rLocalName, @@ -138,7 +132,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList, SvXMLStylesContext& rStyles, sal_uInt16 nFamily = XML_STYLE_FAMILY_SD_DRAWINGPAGE_ID); - virtual ~SdXMLDrawingPageStyleContext() override; SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, @@ -163,10 +156,6 @@ SdXMLDrawingPageStyleContext::SdXMLDrawingPageStyleContext( { } -SdXMLDrawingPageStyleContext::~SdXMLDrawingPageStyleContext() -{ -} - SvXMLImportContext *SdXMLDrawingPageStyleContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/meta/MetaImportComponent.cxx b/xmloff/source/meta/MetaImportComponent.cxx index 24ef1cf..fcf9a83 100644 --- a/xmloff/source/meta/MetaImportComponent.cxx +++ b/xmloff/source/meta/MetaImportComponent.cxx @@ -41,8 +41,6 @@ public: const css::uno::Reference< css::uno::XComponentContext >& xContext ) throw(); - virtual ~XMLMetaImportComponent() throw() override; - protected: virtual SvXMLImportContext* CreateContext( @@ -71,10 +69,6 @@ XMLMetaImportComponent::XMLMetaImportComponent( { } -XMLMetaImportComponent::~XMLMetaImportComponent() throw() -{ -} - SvXMLImportContext* XMLMetaImportComponent::CreateContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/meta/xmlmetai.cxx b/xmloff/source/meta/xmlmetai.cxx index e293ab4..0a39e72 100644 --- a/xmloff/source/meta/xmlmetai.cxx +++ b/xmloff/source/meta/xmlmetai.cxx @@ -45,8 +45,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, const css::uno::Reference< css::xml::dom::XSAXDocumentBuilder2>& rDocBuilder); - virtual ~XMLDocumentBuilderContext() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; @@ -67,10 +65,6 @@ XMLDocumentBuilderContext::XMLDocumentBuilderContext(SvXMLImport& rImport, { } -XMLDocumentBuilderContext::~XMLDocumentBuilderContext() -{ -} - SvXMLImportContext * XMLDocumentBuilderContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/script/xmlscripti.cxx b/xmloff/source/script/xmlscripti.cxx index 67be384..31bb039 100644 --- a/xmloff/source/script/xmlscripti.cxx +++ b/xmloff/source/script/xmlscripti.cxx @@ -49,7 +49,6 @@ public: XMLScriptChildContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::frame::XModel>& rxModel, const OUString& rLanguage ); - virtual ~XMLScriptChildContext() override; virtual SvXMLImportContext* CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; @@ -66,10 +65,6 @@ XMLScriptChildContext::XMLScriptChildContext( SvXMLImport& rImport, sal_uInt16 n { } -XMLScriptChildContext::~XMLScriptChildContext() -{ -} - SvXMLImportContext* XMLScriptChildContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList >& xAttrList ) diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index ccd8158..11e703f 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -139,7 +139,6 @@ public: const OUString& rLName, SvXMLNumFormatContext& rParentContext, sal_uInt16 nNewType, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ); - virtual ~SvXMLNumFmtElementContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -161,7 +160,6 @@ public: const OUString& rLName, SvXMLNumFmtElementContext& rParentContext, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ); - virtual ~SvXMLNumFmtEmbeddedTextContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -181,7 +179,6 @@ public: const OUString& rLName, SvXMLNumFormatContext& rParentContext, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ); - virtual ~SvXMLNumFmtMapContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -201,7 +198,6 @@ public: const OUString& rLName, SvXMLNumFormatContext& rParentContext, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ); - virtual ~SvXMLNumFmtPropContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -623,10 +619,6 @@ SvXMLNumFmtMapContext::SvXMLNumFmtMapContext( SvXMLImport& rImport, } } -SvXMLNumFmtMapContext::~SvXMLNumFmtMapContext() -{ -} - SvXMLImportContext* SvXMLNumFmtMapContext::CreateChildContext( sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& ) @@ -671,10 +663,6 @@ SvXMLNumFmtPropContext::SvXMLNumFmtPropContext( SvXMLImport& rImport, } } -SvXMLNumFmtPropContext::~SvXMLNumFmtPropContext() -{ -} - SvXMLImportContext* SvXMLNumFmtPropContext::CreateChildContext( sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& ) @@ -722,10 +710,6 @@ SvXMLNumFmtEmbeddedTextContext::SvXMLNumFmtEmbeddedTextContext( SvXMLImport& rIm } } -SvXMLNumFmtEmbeddedTextContext::~SvXMLNumFmtEmbeddedTextContext() -{ -} - SvXMLImportContext* SvXMLNumFmtEmbeddedTextContext::CreateChildContext( sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& ) @@ -1093,10 +1077,6 @@ SvXMLNumFmtElementContext::SvXMLNumFmtElementContext( SvXMLImport& rImport, aNumInfo.aIntegerFractionDelimiter = " "; } -SvXMLNumFmtElementContext::~SvXMLNumFmtElementContext() -{ -} - SvXMLImportContext* SvXMLNumFmtElementContext::CreateChildContext( sal_uInt16 nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& xAttrList ) diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx index f356372..cb130d8 100644 --- a/xmloff/source/style/xmlnumi.cxx +++ b/xmloff/source/style/xmlnumi.cxx @@ -79,7 +79,6 @@ public: const OUString& rLName, const Reference< xml::sax::XAttributeList >& xAttrList, SvxXMLListLevelStyleContext_Impl& rLLevel ); - virtual ~SvxXMLListLevelStyleAttrContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -97,7 +96,6 @@ public: const OUString& rLName, const Reference< xml::sax::XAttributeList >& xAttrList, SvxXMLListLevelStyleContext_Impl& rLLevel ); - virtual ~SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl() override; }; enum SvxXMLTextListLevelStyleAttrTokens @@ -218,7 +216,6 @@ public: SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, const Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SvxXMLListLevelStyleContext_Impl() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -364,10 +361,6 @@ SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl( } } -SvxXMLListLevelStyleContext_Impl::~SvxXMLListLevelStyleContext_Impl() -{ -} - SvXMLImportContext *SvxXMLListLevelStyleContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) @@ -897,10 +890,6 @@ SvxXMLListLevelStyleAttrContext_Impl::SvxXMLListLevelStyleAttrContext_Impl( rListLevel.SetImageVertOrient( eVertOrient ); } -SvxXMLListLevelStyleAttrContext_Impl::~SvxXMLListLevelStyleAttrContext_Impl() -{ -} - SvXMLImportContext* SvxXMLListLevelStyleAttrContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) @@ -999,10 +988,6 @@ SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl::SvxXMLListLevelStyleLabelAli } } -SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl::~SvxXMLListLevelStyleLabelAlignmentAttrContext_Impl() -{ -} - void SvxXMLListStyleContext::SetAttribute( sal_uInt16 nPrefixKey, const OUString& rLocalName, const OUString& rValue ) diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx index b42eb4e..bb0b1b4 100644 --- a/xmloff/source/style/xmltabi.cxx +++ b/xmloff/source/style/xmltabi.cxx @@ -66,8 +66,6 @@ public: const OUString& rLName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ); - virtual ~SvxXMLTabStopContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const uno::Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -155,10 +153,6 @@ SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl( aTabStop.FillChar = cTextFillChar; } -SvxXMLTabStopContext_Impl::~SvxXMLTabStopContext_Impl() -{ -} - SvXMLImportContext *SvxXMLTabStopContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index d844d2f..301a7f7 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -94,7 +94,6 @@ class XMLTableImportContext : public SvXMLImportContext { public: XMLTableImportContext( const rtl::Reference< XMLTableImport >& xThis, sal_uInt16 nPrfx, const OUString& rLName, Reference< XColumnRowRange >& xColumnRowRange ); - virtual ~XMLTableImportContext() override; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) override; @@ -133,8 +132,6 @@ public: sal_uInt16 nPrfx, const OUString& rLName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ); - virtual ~XMLCellImportContext() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -375,10 +372,6 @@ XMLTableImportContext::XMLTableImportContext( const rtl::Reference< XMLTableImpo { } -XMLTableImportContext::~XMLTableImportContext() -{ -} - SvXMLImportContext * XMLTableImportContext::ImportColumn( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) { if( mxColumns.is() && (mnCurrentRow == -1) ) try @@ -709,10 +702,6 @@ XMLCellImportContext::XMLCellImportContext( SvXMLImport& rImport, const Referenc } } -XMLCellImportContext::~XMLCellImportContext() -{ -} - SvXMLImportContext * XMLCellImportContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList ) { // create text cursor on demand diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx index eab4563..d55a9a3 100644 --- a/xmloff/source/text/XMLTextColumnsContext.cxx +++ b/xmloff/source/text/XMLTextColumnsContext.cxx @@ -105,8 +105,6 @@ public: xml::sax::XAttributeList > & xAttrList, const SvXMLTokenMap& rTokenMap ); - virtual ~XMLTextColumnContext_Impl() override; - text::TextColumn& getTextColumn() { return aColumn; } }; @@ -165,10 +163,6 @@ XMLTextColumnContext_Impl::XMLTextColumnContext_Impl( } } -XMLTextColumnContext_Impl::~XMLTextColumnContext_Impl() -{ -} - class XMLTextColumnSepContext_Impl: public SvXMLImportContext { sal_Int32 nWidth; @@ -185,8 +179,6 @@ public: xml::sax::XAttributeList > & xAttrList, const SvXMLTokenMap& rTokenMap ); - virtual ~XMLTextColumnSepContext_Impl() override; - sal_Int32 GetWidth() const { return nWidth; } sal_Int32 GetColor() const { return nColor; } sal_Int8 GetHeight() const { return nHeight; } @@ -256,11 +248,6 @@ XMLTextColumnSepContext_Impl::XMLTextColumnSepContext_Impl( } } -XMLTextColumnSepContext_Impl::~XMLTextColumnSepContext_Impl() -{ -} - - XMLTextColumnsContext::XMLTextColumnsContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 6c4f791..d72c55e 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -122,7 +122,6 @@ public: sal_uInt16 nPrfx, const OUString& rLName, OUString& rTitleOrDesc ); - virtual ~XMLTextFrameTitleOrDescContext_Impl() override; virtual void Characters( const OUString& rText ) override; }; @@ -138,10 +137,6 @@ XMLTextFrameTitleOrDescContext_Impl::XMLTextFrameTitleOrDescContext_Impl( { } -XMLTextFrameTitleOrDescContext_Impl::~XMLTextFrameTitleOrDescContext_Impl() -{ -} - void XMLTextFrameTitleOrDescContext_Impl::Characters( const OUString& rText ) { mrTitleOrDesc += rText; @@ -157,14 +152,8 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, sal_uInt16 nType, ParamMap &rParamMap); - virtual ~XMLTextFrameParam_Impl() override; }; - -XMLTextFrameParam_Impl::~XMLTextFrameParam_Impl() -{ -} - XMLTextFrameParam_Impl::XMLTextFrameParam_Impl( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, @@ -211,7 +200,6 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList, const Reference < XPropertySet >& rPropSet, bool bPath ); - virtual ~XMLTextFrameContourContext_Impl() override; }; @@ -336,10 +324,6 @@ XMLTextFrameContourContext_Impl::XMLTextFrameContourContext_Impl( } } -XMLTextFrameContourContext_Impl::~XMLTextFrameContourContext_Impl() -{ -} - class XMLTextFrameContext_Impl : public SvXMLImportContext { css::uno::Reference < css::text::XTextCursor > xOldTextCursor; @@ -426,7 +410,6 @@ public: css::text::TextContentAnchorType eAnchorType, sal_uInt16 nType, const css::uno::Reference<css::xml::sax::XAttributeList > & rFrameAttrList ); - virtual ~XMLTextFrameContext_Impl() override; virtual void EndElement() override; @@ -1084,10 +1067,6 @@ XMLTextFrameContext_Impl::XMLTextFrameContext_Impl( Create( true ); } -XMLTextFrameContext_Impl::~XMLTextFrameContext_Impl() -{ -} - void XMLTextFrameContext_Impl::EndElement() { CreateIfNotThere(); diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index ff3a558..10c3add 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -50,8 +50,6 @@ public: ::std::vector< XMLPropertyState > &rProps, const rtl::Reference < SvXMLImportPropertyMapper > &rMap ); - virtual ~XMLTextShapePropertySetContext_Impl() override; - using SvXMLPropertySetContext::CreateChildContext; virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -72,10 +70,6 @@ XMLTextShapePropertySetContext_Impl::XMLTextShapePropertySetContext_Impl( { } -XMLTextShapePropertySetContext_Impl::~XMLTextShapePropertySetContext_Impl() -{ -} - SvXMLImportContext *XMLTextShapePropertySetContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index b37db9a..85da6ad 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -478,8 +478,6 @@ public: XMLHints_Impl& rHints, bool& rIgnLeadSpace ); - virtual ~XMLImpRubyBaseContext_Impl() override; - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) override; @@ -501,10 +499,6 @@ XMLImpRubyBaseContext_Impl::XMLImpRubyBaseContext_Impl( { } -XMLImpRubyBaseContext_Impl::~XMLImpRubyBaseContext_Impl() -{ -} - SvXMLImportContext *XMLImpRubyBaseContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const Reference< xml::sax::XAttributeList > & xAttrList ) @@ -569,8 +563,6 @@ public: const Reference< xml::sax::XAttributeList > & xAttrList, XMLImpRubyContext_Impl & rParent ); - virtual ~XMLImpRubyTextContext_Impl() override; - virtual void Characters( const OUString& rChars ) override; }; @@ -603,10 +595,6 @@ XMLImpRubyTextContext_Impl::XMLImpRubyTextContext_Impl( } } -XMLImpRubyTextContext_Impl::~XMLImpRubyTextContext_Impl() -{ -} - void XMLImpRubyTextContext_Impl::Characters( const OUString& rChars ) { m_rRubyContext.AppendText( rChars ); @@ -708,8 +696,6 @@ public: XMLHints_Impl& i_rHints, bool & i_rIgnoreLeadingSpace ); - virtual ~XMLMetaImportContextBase() override; - virtual void StartElement( const Reference<xml::sax::XAttributeList> & i_xAttrList) override; @@ -742,10 +728,6 @@ XMLMetaImportContextBase::XMLMetaImportContextBase( { } -XMLMetaImportContextBase::~XMLMetaImportContextBase() -{ -} - void XMLMetaImportContextBase::StartElement( const Reference<xml::sax::XAttributeList> & i_xAttrList) { diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx index 8c6615d..3de39a7 100644 --- a/xmloff/source/text/txtprhdl.cxx +++ b/xmloff/source/text/txtprhdl.cxx @@ -247,8 +247,6 @@ static SvXMLEnumMapEntry const pXML_VerticalAlign_Enum[] = class XMLDropCapPropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLDropCapPropHdl_Impl () override; - virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const override; @@ -264,10 +262,6 @@ public: const SvXMLUnitConverter& ) const override; }; -XMLDropCapPropHdl_Impl::~XMLDropCapPropHdl_Impl () -{ -} - bool XMLDropCapPropHdl_Impl::equals( const Any& r1, const Any& r2 ) const @@ -303,8 +297,6 @@ bool XMLDropCapPropHdl_Impl::exportXML( class XMLOpaquePropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLOpaquePropHdl_Impl () override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -346,15 +338,9 @@ bool XMLOpaquePropHdl_Impl::exportXML( return true; } -XMLOpaquePropHdl_Impl::~XMLOpaquePropHdl_Impl () -{ -} - class XMLContourModePropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLContourModePropHdl_Impl () override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -396,15 +382,9 @@ bool XMLContourModePropHdl_Impl::exportXML( return true; } -XMLContourModePropHdl_Impl::~XMLContourModePropHdl_Impl() -{ -} - class XMLParagraphOnlyPropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLParagraphOnlyPropHdl_Impl () override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -449,10 +429,6 @@ bool XMLParagraphOnlyPropHdl_Impl::exportXML( return true; } -XMLParagraphOnlyPropHdl_Impl::~XMLParagraphOnlyPropHdl_Impl() -{ -} - SvXMLEnumMapEntry const pXML_Wrap_Enum[] = { { XML_NONE, WrapTextMode_NONE }, @@ -467,8 +443,6 @@ SvXMLEnumMapEntry const pXML_Wrap_Enum[] = class XMLWrapPropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLWrapPropHdl_Impl () override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -511,17 +485,12 @@ bool XMLWrapPropHdl_Impl::exportXML( return bRet; } -XMLWrapPropHdl_Impl::~XMLWrapPropHdl_Impl () -{ -} - class XMLFrameProtectPropHdl_Impl : public XMLPropertyHandler { const OUString sVal; public: explicit XMLFrameProtectPropHdl_Impl( enum XMLTokenEnum eVal ) : sVal( GetXMLToken(eVal) ) {} - virtual ~XMLFrameProtectPropHdl_Impl () override; virtual bool importXML( const OUString& rStrImpValue, @@ -587,10 +556,6 @@ bool XMLFrameProtectPropHdl_Impl::exportXML( return true; } -XMLFrameProtectPropHdl_Impl::~XMLFrameProtectPropHdl_Impl() -{ -} - SvXMLEnumMapEntry const pXML_Anchor_Enum[] = { { XML_CHAR, TextContentAnchorType_AT_CHARACTER }, @@ -710,8 +675,6 @@ bool XMLTextColumnsPropertyHandler::exportXML( class XMLHoriMirrorPropHdl_Impl : public XMLPropertyHandler { public: - virtual ~XMLHoriMirrorPropHdl_Impl () override; - virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, @@ -749,10 +712,6 @@ bool XMLHoriMirrorPropHdl_Impl::exportXML( return false; } -XMLHoriMirrorPropHdl_Impl::~XMLHoriMirrorPropHdl_Impl () -{ -} - class XMLGrfMirrorPropHdl_Impl : public XMLPropertyHandler { const OUString sVal; @@ -762,7 +721,6 @@ public: XMLGrfMirrorPropHdl_Impl( enum XMLTokenEnum eVal, bool bH ) : sVal( GetXMLToken( eVal ) ), bHori( bH ) {} - virtual ~XMLGrfMirrorPropHdl_Impl () override; virtual bool importXML( const OUString& rStrImpValue, @@ -839,10 +797,6 @@ bool XMLGrfMirrorPropHdl_Impl::exportXML( return true; } -XMLGrfMirrorPropHdl_Impl::~XMLGrfMirrorPropHdl_Impl() -{ -} - SvXMLEnumMapEntry const pXML_Emphasize_Enum[] = { { XML_NONE, FontEmphasis::NONE }, @@ -856,7 +810,6 @@ class XMLTextEmphasizePropHdl_Impl : public XMLPropertyHandler { public: XMLTextEmphasizePropHdl_Impl() {} - virtual ~XMLTextEmphasizePropHdl_Impl() override; virtual bool importXML( const OUString& rStrImpValue, @@ -949,15 +902,10 @@ bool XMLTextEmphasizePropHdl_Impl::exportXML( return bRet; } -XMLTextEmphasizePropHdl_Impl::~XMLTextEmphasizePropHdl_Impl() -{ -} - class XMLTextCombineCharPropHdl_Impl : public XMLPropertyHandler { public: XMLTextCombineCharPropHdl_Impl() {} - virtual ~XMLTextCombineCharPropHdl_Impl() override; virtual bool importXML( const OUString& rStrImpValue, @@ -993,15 +941,10 @@ bool XMLTextCombineCharPropHdl_Impl::exportXML( return (1 == rStrExpValue.getLength()); } -XMLTextCombineCharPropHdl_Impl::~XMLTextCombineCharPropHdl_Impl() -{ -} - class XMLTextRelWidthHeightPropHdl_Impl : public XMLPropertyHandler { public: XMLTextRelWidthHeightPropHdl_Impl() {} - virtual ~XMLTextRelWidthHeightPropHdl_Impl() override; virtual bool importXML( const OUString& rStrImpValue, @@ -1045,10 +988,6 @@ bool XMLTextRelWidthHeightPropHdl_Impl::exportXML( return bRet; } -XMLTextRelWidthHeightPropHdl_Impl::~XMLTextRelWidthHeightPropHdl_Impl() -{ -} - class XMLTextSyncWidthHeightPropHdl_Impl : public XMLPropertyHandler { const OUString sValue; @@ -1056,7 +995,6 @@ class XMLTextSyncWidthHeightPropHdl_Impl : public XMLPropertyHandler public: explicit XMLTextSyncWidthHeightPropHdl_Impl( enum XMLTokenEnum eValue ) : sValue( GetXMLToken(eValue) ) {} - virtual ~XMLTextSyncWidthHeightPropHdl_Impl() override; virtual bool importXML( const OUString& rStrImpValue, @@ -1093,16 +1031,11 @@ bool XMLTextSyncWidthHeightPropHdl_Impl::exportXML( return bRet; } -XMLTextSyncWidthHeightPropHdl_Impl::~XMLTextSyncWidthHeightPropHdl_Impl() -{ -} - class XMLTextRotationAnglePropHdl_Impl : public XMLPropertyHandler { public: XMLTextRotationAnglePropHdl_Impl() {} - virtual ~XMLTextRotationAnglePropHdl_Impl() override; virtual bool importXML( const OUString& rStrImpValue, @@ -1157,15 +1090,11 @@ bool XMLTextRotationAnglePropHdl_Impl::exportXML( return bRet; } -XMLTextRotationAnglePropHdl_Impl::~XMLTextRotationAnglePropHdl_Impl() -{ -} class XMLNumber8OneBasedHdl : public XMLPropertyHandler { public: XMLNumber8OneBasedHdl() {} - virtual ~XMLNumber8OneBasedHdl() override {}; virtual bool importXML( const OUString& rStrImpValue, diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx index 8440b20..18733301 100644 --- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx @@ -38,7 +38,6 @@ public: XMLAxisOASISContext( XMLTransformerBase& rTransformer, const OUString& rQName, ::rtl::Reference< XMLPersAttrListTContext > & rOutCategoriesContext ); - virtual ~XMLAxisOASISContext() override; virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix, @@ -63,9 +62,6 @@ XMLAxisOASISContext::XMLAxisOASISContext( m_bHasCategories( false ) {} -XMLAxisOASISContext::~XMLAxisOASISContext() -{} - rtl::Reference<XMLTransformerContext> XMLAxisOASISContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx index 677bd1a..b016011 100644 --- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx +++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx @@ -37,7 +37,6 @@ class XMLAxisOOoContext : public XMLPersElemContentTContext public: XMLAxisOOoContext( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLAxisOOoContext() override; virtual void StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) override; @@ -54,9 +53,6 @@ XMLAxisOOoContext::XMLAxisOOoContext( m_bIsCategoryAxis( false ) {} -XMLAxisOOoContext::~XMLAxisOOoContext() -{} - void XMLAxisOOoContext::StartElement( const Reference< xml::sax::XAttributeList >& rAttrList ) { diff --git a/xmloff/source/transform/FormPropOOoTContext.cxx b/xmloff/source/transform/FormPropOOoTContext.cxx index 1303099..61ac282 100644 --- a/xmloff/source/transform/FormPropOOoTContext.cxx +++ b/xmloff/source/transform/FormPropOOoTContext.cxx @@ -42,8 +42,6 @@ public: XMLFormPropValueTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLFormPropValueTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -64,10 +62,6 @@ XMLFormPropValueTContext_Impl::XMLFormPropValueTContext_Impl( { } -XMLFormPropValueTContext_Impl::~XMLFormPropValueTContext_Impl() -{ -} - void XMLFormPropValueTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { diff --git a/xmloff/source/transform/MergeElemTContext.cxx b/xmloff/source/transform/MergeElemTContext.cxx index 8b49283..e634513 100644 --- a/xmloff/source/transform/MergeElemTContext.cxx +++ b/xmloff/source/transform/MergeElemTContext.cxx @@ -37,8 +37,6 @@ public: XMLParagraphTransformerContext( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLParagraphTransformerContext() override; - // Create a children element context. By default, the import's // CreateContext method is called to create a new default context. virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix, @@ -54,10 +52,6 @@ XMLParagraphTransformerContext::XMLParagraphTransformerContext( { } -XMLParagraphTransformerContext::~XMLParagraphTransformerContext() -{ -} - rtl::Reference<XMLTransformerContext> XMLParagraphTransformerContext::CreateChildContext( sal_uInt16 /*nPrefix*/, const OUString& /*rLocalName*/, @@ -76,7 +70,6 @@ public: const OUString& rQName, sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken ); - virtual ~XMLPersTextContentRNGTransformTContext() override; virtual void Characters( const OUString& rChars ) override; }; @@ -90,9 +83,6 @@ XMLPersTextContentRNGTransformTContext::XMLPersTextContentRNGTransformTContext( rTransformer, rQName, nPrefix, eToken ) {} -XMLPersTextContentRNGTransformTContext::~XMLPersTextContentRNGTransformTContext() -{} - void XMLPersTextContentRNGTransformTContext::Characters( const OUString& rChars ) { OUString aConvChars( rChars ); diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index a6b1e85..c6cc7c4 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -1096,8 +1096,6 @@ public: sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken ); - virtual ~XMLDocumentTransformerContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; }; @@ -1120,10 +1118,6 @@ XMLDocumentTransformerContext_Impl::XMLDocumentTransformerContext_Impl( { } -XMLDocumentTransformerContext_Impl::~XMLDocumentTransformerContext_Impl() -{ -} - void XMLDocumentTransformerContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1237,8 +1231,6 @@ public: XMLBodyTransformerContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLBodyTransformerContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; }; @@ -1250,10 +1242,6 @@ XMLBodyTransformerContext_Impl::XMLBodyTransformerContext_Impl( { } -XMLBodyTransformerContext_Impl::~XMLBodyTransformerContext_Impl() -{ -} - void XMLBodyTransformerContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1295,8 +1283,6 @@ public: XMLTabStopOOoTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLTabStopOOoTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; @@ -1307,10 +1293,6 @@ XMLTabStopOOoTContext_Impl::XMLTabStopOOoTContext_Impl( { } -XMLTabStopOOoTContext_Impl::~XMLTabStopOOoTContext_Impl() -{ -} - void XMLTabStopOOoTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1393,8 +1375,6 @@ public: sal_uInt16 nPrefix, XMLTokenEnum eToken ); - virtual ~XMLTrackedChangesOOoTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; @@ -1409,10 +1389,6 @@ XMLTrackedChangesOOoTContext_Impl::XMLTrackedChangesOOoTContext_Impl( { } -XMLTrackedChangesOOoTContext_Impl::~XMLTrackedChangesOOoTContext_Impl() -{ -} - void XMLTrackedChangesOOoTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1461,8 +1437,6 @@ public: XMLTableOOoTransformerContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLTableOOoTransformerContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; }; @@ -1475,10 +1449,6 @@ XMLTableOOoTransformerContext_Impl::XMLTableOOoTransformerContext_Impl( { } -XMLTableOOoTransformerContext_Impl::~XMLTableOOoTransformerContext_Impl() -{ -} - void XMLTableOOoTransformerContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index b64e0b5..257f199 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -1150,8 +1150,6 @@ public: XMLTableTransformerContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLTableTransformerContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; }; @@ -1164,10 +1162,6 @@ XMLTableTransformerContext_Impl::XMLTableTransformerContext_Impl( { } -XMLTableTransformerContext_Impl::~XMLTableTransformerContext_Impl() -{ -} - void XMLTableTransformerContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1248,8 +1242,6 @@ public: XMLBodyOASISTransformerContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLBodyOASISTransformerContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix, @@ -1267,10 +1259,6 @@ XMLBodyOASISTransformerContext_Impl::XMLBodyOASISTransformerContext_Impl( { } -XMLBodyOASISTransformerContext_Impl::~XMLBodyOASISTransformerContext_Impl() -{ -} - void XMLBodyOASISTransformerContext_Impl::StartElement( const Reference< XAttributeList >& ) { @@ -1304,8 +1292,6 @@ public: XMLTabStopOASISTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLTabStopOASISTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; @@ -1316,10 +1302,6 @@ XMLTabStopOASISTContext_Impl::XMLTabStopOASISTContext_Impl( { } -XMLTabStopOASISTContext_Impl::~XMLTabStopOASISTContext_Impl() -{ -} - void XMLTabStopOASISTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1434,8 +1416,6 @@ public: XMLConfigItemTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLConfigItemTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; @@ -1452,10 +1432,6 @@ XMLConfigItemTContext_Impl::XMLConfigItemTContext_Impl( { } -XMLConfigItemTContext_Impl::~XMLConfigItemTContext_Impl() -{ -} - void XMLConfigItemTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { @@ -1541,8 +1517,6 @@ public: sal_uInt16 nPrefix, XMLTokenEnum eToken ); - virtual ~XMLTrackedChangesOASISTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; }; @@ -1557,10 +1531,6 @@ XMLTrackedChangesOASISTContext_Impl::XMLTrackedChangesOASISTContext_Impl( { } -XMLTrackedChangesOASISTContext_Impl::~XMLTrackedChangesOASISTContext_Impl() -{ -} - void XMLTrackedChangesOASISTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { diff --git a/xmloff/source/transform/PersMixedContentTContext.cxx b/xmloff/source/transform/PersMixedContentTContext.cxx index cf4efe2..6d5342a 100644 --- a/xmloff/source/transform/PersMixedContentTContext.cxx +++ b/xmloff/source/transform/PersMixedContentTContext.cxx @@ -32,7 +32,6 @@ class XMLPersTextTContext_Impl : public XMLTransformerContext public: XMLPersTextTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rChars ); - virtual ~XMLPersTextTContext_Impl() override; virtual rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -54,10 +53,6 @@ XMLPersTextTContext_Impl::XMLPersTextTContext_Impl( { } -XMLPersTextTContext_Impl::~XMLPersTextTContext_Impl() -{ -} - rtl::Reference<XMLTransformerContext> XMLPersTextTContext_Impl::CreateChildContext( sal_uInt16, const OUString&, diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx index c527afa..38a3d43 100644 --- a/xmloff/source/transform/StyleOASISTContext.cxx +++ b/xmloff/source/transform/StyleOASISTContext.cxx @@ -83,8 +83,6 @@ public: const OUString& rStyleFamily, bool _bControlStyle ); - virtual ~XMLPropertiesTContext_Impl() override; - virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void Export() override; @@ -109,10 +107,6 @@ XMLPropertiesTContext_Impl::XMLPropertiesTContext_Impl( { } -XMLPropertiesTContext_Impl::~XMLPropertiesTContext_Impl() -{ -} - void XMLPropertiesTContext_Impl::StartElement( const Reference< XAttributeList >& rAttrList ) { diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx index c7429cc..3a6df66 100644 --- a/xmloff/source/transform/StyleOOoTContext.cxx +++ b/xmloff/source/transform/StyleOOoTContext.cxx @@ -149,8 +149,6 @@ public: XMLTypedPropertiesOOoTContext_Impl( XMLTransformerBase& rTransformer, const OUString& rQName ); - virtual ~XMLTypedPropertiesOOoTContext_Impl() override; - using XMLPersAttrListTContext::AddAttribute; void AddAttribute( const OUString &sName , const OUString &sValue ); @@ -170,10 +168,6 @@ XMLTypedPropertiesOOoTContext_Impl::XMLTypedPropertiesOOoTContext_Impl( { } -XMLTypedPropertiesOOoTContext_Impl::~XMLTypedPropertiesOOoTContext_Impl() -{ -} - void XMLTypedPropertiesOOoTContext_Impl::AddAttribute( const OUString &sName , const OUString &sValue ) @@ -234,8 +228,6 @@ public: const XMLPropTypes& rTypes, bool bPersistent ); - virtual ~XMLPropertiesOOoTContext_Impl() override; - rtl::Reference<XMLTransformerContext> CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, @@ -373,10 +365,6 @@ XMLPropertiesOOoTContext_Impl::XMLPropertiesOOoTContext_Impl( } } -XMLPropertiesOOoTContext_Impl::~XMLPropertiesOOoTContext_Impl() -{ -} - rtl::Reference<XMLTransformerContext> XMLPropertiesOOoTContext_Impl::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
