summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-24 11:31:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 05:20:06 +0000
commitb4adb0c533cc99633f360cb12014aa35599d943a (patch)
treea13c9afc746c476a5b02e65d7a1d168ef71109b0 /framework
parent6c98339f7523db93ff8064282c19ab285d80612a (diff)
loplugin: unnecessary destructor forms..idlc
Change-Id: I765e0fa61f8134a60e5ea24452c6bbcb3fa8b054 Reviewed-on: https://gerrit.libreoffice.org/33492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/helper/mischelper.hxx12
-rw-r--r--framework/inc/xml/imagesconfiguration.hxx2
-rw-r--r--framework/source/accelerators/presethandler.cxx2
-rw-r--r--framework/source/inc/dispatch/dispatchdisabler.hxx1
-rw-r--r--framework/source/inc/loadenv/loadenvexception.hxx2
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx3
6 files changed, 0 insertions, 22 deletions
diff --git a/framework/inc/helper/mischelper.hxx b/framework/inc/helper/mischelper.hxx
index de7044350b50..c8f5927682bd 100644
--- a/framework/inc/helper/mischelper.hxx
+++ b/framework/inc/helper/mischelper.hxx
@@ -153,10 +153,6 @@ class WeakContainerListener : public ::cppu::WeakImplHelper<css::container::XCon
{
}
- virtual ~WeakContainerListener() override
- {
- }
-
// container.XContainerListener
virtual void SAL_CALL elementInserted(const css::container::ContainerEvent& rEvent)
throw(css::uno::RuntimeException, std::exception) override
@@ -208,10 +204,6 @@ class WeakChangesListener : public ::cppu::WeakImplHelper<css::util::XChangesLis
{
}
- virtual ~WeakChangesListener() override
- {
- }
-
// util.XChangesListener
virtual void SAL_CALL changesOccurred(const css::util::ChangesEvent& rEvent)
throw(css::uno::RuntimeException, std::exception) override
@@ -245,10 +237,6 @@ class WeakDocumentEventListener : public ::cppu::WeakImplHelper<css::document::X
{
}
- virtual ~WeakDocumentEventListener() override
- {
- }
-
virtual void SAL_CALL documentEventOccured(const css::document::DocumentEvent& rEvent)
throw(css::uno::RuntimeException, std::exception) override
{
diff --git a/framework/inc/xml/imagesconfiguration.hxx b/framework/inc/xml/imagesconfiguration.hxx
index 44b42a1c46ad..617882c9aa19 100644
--- a/framework/inc/xml/imagesconfiguration.hxx
+++ b/framework/inc/xml/imagesconfiguration.hxx
@@ -62,8 +62,6 @@ struct ImageListItemDescriptor
{
ImageListItemDescriptor() : nMaskMode( ImageMaskMode_Color ) {}
- ~ImageListItemDescriptor() {}
-
OUString aURL; // an URL to a bitmap with several images inside
Color aMaskColor; // a color used as transparent
OUString aMaskURL; // an URL to an optional bitmap used as a mask
diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx
index 91668261b18c..62ba06b9fe14 100644
--- a/framework/source/accelerators/presethandler.cxx
+++ b/framework/source/accelerators/presethandler.cxx
@@ -63,8 +63,6 @@ struct TSharedStorages final
: m_lStoragesShare()
, m_lStoragesUser ()
{};
-
- ~TSharedStorages() {};
};
/** @short provides access to the:
diff --git a/framework/source/inc/dispatch/dispatchdisabler.hxx b/framework/source/inc/dispatch/dispatchdisabler.hxx
index 92cb24166a02..b41d7af00221 100644
--- a/framework/source/inc/dispatch/dispatchdisabler.hxx
+++ b/framework/source/inc/dispatch/dispatchdisabler.hxx
@@ -46,7 +46,6 @@ class DispatchDisabler : public ::cppu::WeakImplHelper<
css::uno::Reference< css::frame::XDispatchProvider > mxMaster;
public:
DispatchDisabler(const css::uno::Reference< css::uno::XComponentContext >& rxContext);
- virtual ~DispatchDisabler() override {}
// XInitialization
virtual void SAL_CALL initialize( const ::css::uno::Sequence< ::css::uno::Any >& aArguments )
diff --git a/framework/source/inc/loadenv/loadenvexception.hxx b/framework/source/inc/loadenv/loadenvexception.hxx
index fedf95416d4f..b75009ce652f 100644
--- a/framework/source/inc/loadenv/loadenvexception.hxx
+++ b/framework/source/inc/loadenv/loadenvexception.hxx
@@ -83,8 +83,6 @@ class LoadEnvException
css::uno::Any const & original = css::uno::Any()):
m_nID(id), m_sMessage(message), m_exOriginal(original)
{}
-
- ~LoadEnvException() {}
};
} // namespace framework
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 85304a1775bc..cd21f4e25b7f 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -3132,9 +3132,6 @@ namespace detail
rManager.describeProperties(aProperties);
m_pInfoHelper.reset( new ::cppu::OPropertyArrayHelper(aProperties, true) );
}
- ~InfoHelperBuilder()
- {
- }
InfoHelperBuilder(const InfoHelperBuilder&) = delete;
InfoHelperBuilder& operator=(const InfoHelperBuilder&) = delete;