diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-24 11:28:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-24 11:28:54 +0100 |
commit | 223607e0363230116d09e51b0025057e766ed022 (patch) | |
tree | c479f695682de4fb2156e12d0d49b1c8558c0d34 /unotools | |
parent | 31e2e2de4571139bde2fe55a986c8b067cca1dee (diff) |
loplugin:unnecessaryoverride (dtors) in unotools
Change-Id: I14f10addc701be143b0482dc62d2e90a0862062d
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/configitem.cxx | 5 | ||||
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 6 | ||||
-rw-r--r-- | unotools/source/config/saveopt.cxx | 9 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 24 |
4 files changed, 0 insertions, 44 deletions
diff --git a/unotools/source/config/configitem.cxx b/unotools/source/config/configitem.cxx index f6957e4db24a..b40d0ccde3c9 100644 --- a/unotools/source/config/configitem.cxx +++ b/unotools/source/config/configitem.cxx @@ -71,7 +71,6 @@ namespace utl{ ConfigItem* pParent; const Sequence< OUString > aPropertyNames; ConfigChangeListener_Impl(ConfigItem& rItem, const Sequence< OUString >& rNames); - virtual ~ConfigChangeListener_Impl() override; //XChangesListener virtual void SAL_CALL changesOccurred( const ChangesEvent& Event ) throw(RuntimeException, std::exception) override; @@ -104,10 +103,6 @@ ConfigChangeListener_Impl::ConfigChangeListener_Impl( { } -ConfigChangeListener_Impl::~ConfigChangeListener_Impl() -{ -} - static bool lcl_Find( const OUString& rTemp, const OUString* pCheckPropertyNames, diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 96f21575bb30..14f4898e1f41 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -158,7 +158,6 @@ class SvtLinguConfigItem : public utl::ConfigItem public: SvtLinguConfigItem(); - virtual ~SvtLinguConfigItem() override; // utl::ConfigItem virtual void Notify( const css::uno::Sequence< OUString > &rPropertyNames ) override; @@ -198,11 +197,6 @@ SvtLinguConfigItem::SvtLinguConfigItem() : EnableNotification( rPropertyNames ); } -SvtLinguConfigItem::~SvtLinguConfigItem() -{ - //! Commit (SaveOptions) will be called by the d-tor of the base called ! -} - void SvtLinguConfigItem::Notify( const uno::Sequence< OUString > &rPropertyNames ) { LoadOptions( rPropertyNames ); diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx index fdad10af5d0d..8999d211b66d 100644 --- a/unotools/source/config/saveopt.cxx +++ b/unotools/source/config/saveopt.cxx @@ -97,7 +97,6 @@ class SvtSaveOptions_Impl : public utl::ConfigItem public: SvtSaveOptions_Impl(); - virtual ~SvtSaveOptions_Impl() override; virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; @@ -581,9 +580,6 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl() } } -SvtSaveOptions_Impl::~SvtSaveOptions_Impl() -{} - void SvtSaveOptions_Impl::ImplCommit() { Sequence< OUString > aOrgNames = GetPropertyNames(); @@ -770,7 +766,6 @@ private: public: SvtLoadOptions_Impl(); - virtual ~SvtLoadOptions_Impl() override; virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override; @@ -792,10 +787,6 @@ SvtLoadOptions_Impl::SvtLoadOptions_Impl() pValues[0] >>= bLoadUserDefinedSettings; } -SvtLoadOptions_Impl::~SvtLoadOptions_Impl() -{ -} - void SvtLoadOptions_Impl::ImplCommit() { PutProperties( diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 70dd91ff6ffb..7c0096e24cb6 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -229,8 +229,6 @@ public: RuntimeException ); - virtual ~Moderator() override; - enum ResultType { NORESULT, @@ -341,8 +339,6 @@ public: explicit ModeratorsActiveDataStreamer(Moderator &theModerator); - virtual ~ModeratorsActiveDataStreamer() override; - // XActiveDataStreamer virtual void SAL_CALL setStream( @@ -377,8 +373,6 @@ public: explicit ModeratorsActiveDataSink(Moderator &theModerator); - virtual ~ModeratorsActiveDataSink() override; - // XActiveDataSink. virtual void SAL_CALL setInputStream ( @@ -410,10 +404,6 @@ ModeratorsActiveDataSink::ModeratorsActiveDataSink(Moderator &theModerator) { } -ModeratorsActiveDataSink::~ModeratorsActiveDataSink() -{ -} - // XActiveDataSink. void SAL_CALL ModeratorsActiveDataSink::setInputStream ( @@ -435,10 +425,6 @@ ModeratorsActiveDataStreamer::ModeratorsActiveDataStreamer( { } -ModeratorsActiveDataStreamer::~ModeratorsActiveDataStreamer() -{ -} - // XActiveDataStreamer. void SAL_CALL ModeratorsActiveDataStreamer::setStream ( @@ -460,8 +446,6 @@ public: explicit ModeratorsInteractionHandler(Moderator &theModerator); - virtual ~ModeratorsInteractionHandler() override; - virtual void SAL_CALL handle( const Reference<XInteractionRequest >& Request ) throw (RuntimeException, std::exception) override; @@ -477,10 +461,6 @@ ModeratorsInteractionHandler::ModeratorsInteractionHandler( { } -ModeratorsInteractionHandler::~ModeratorsInteractionHandler() -{ -} - void SAL_CALL ModeratorsInteractionHandler::handle( const Reference<XInteractionRequest >& Request @@ -555,10 +535,6 @@ Moderator::Moderator( m_aArg.Argument <<= aOpenArg; } -Moderator::~Moderator() -{ -} - Moderator::Result Moderator::getResult(const sal_uInt32 milliSec) { Result ret; |