summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-01 08:53:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-01 08:53:50 +0100
commit182dfdd00e283d3a9b125f23a5a538c6e73f7594 (patch)
treefdb9f395ff752aca936e498de5d47647522d4ff6 /xmloff/source/core
parent3770a6a3f3bd3e9c3f71a346b9db895e5bf0df31 (diff)
loplugin:unnecessaryoverride (dtors) in xmloff
Change-Id: I351ff5955d766118e3a6b2234181774af0d1f522
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx25
-rw-r--r--xmloff/source/core/PropertySetMerger.cxx5
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx6
-rw-r--r--xmloff/source/core/xmlexp.cxx5
-rw-r--r--xmloff/source/core/xmlimp.cxx5
5 files changed, 0 insertions, 46 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index aa5a9ed05b3b..cfb2bc0b6f63 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 6bda9b82e4b8..1cf9c56e5c3b 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 b2637a972160..0fd0011b28a0 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 b1ca265b77b6..9af5b542ef22 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 9f17b994b5aa..6ce1378eea2d 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)