diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:15:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-02 11:15:15 +0100 |
commit | 7ca8ff7ff74df1f0805e391fef9a3e554dd28778 (patch) | |
tree | 0d2c1e124713b94c50c70346acceb97d83c54d77 /svtools | |
parent | 6eb60ca80115c35fbfce2789146e485835e7709e (diff) |
loplugin:unnecessaryoverride (dtors) in svtools
Change-Id: I5b0f4b335cd383702324ff6ea04581476309ca70
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 7 | ||||
-rw-r--r-- | svtools/source/edit/textwindowpeer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/filter/SvFilterOptionsDialog.cxx | 7 | ||||
-rw-r--r-- | svtools/source/table/cellvalueconversion.cxx | 12 | ||||
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 8 | ||||
-rw-r--r-- | svtools/source/uno/unoimap.cxx | 5 |
6 files changed, 1 insertions, 40 deletions
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 2dd42da2aa76..4aed39dd7517 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -256,7 +256,6 @@ namespace svt public: AssignmentPersistentData(); - virtual ~AssignmentPersistentData() override; // IAssigmentData overridables virtual OUString getDatasourceName() const override; @@ -295,12 +294,6 @@ void AssignmentPersistentData::ImplCommit() m_aStoredFields.insert(*pStoredNames); } - - AssignmentPersistentData::~AssignmentPersistentData() - { - } - - bool AssignmentPersistentData::hasFieldAssignment(const OUString& _rLogicalName) { return (m_aStoredFields.end() != m_aStoredFields.find(_rLogicalName)); diff --git a/svtools/source/edit/textwindowpeer.cxx b/svtools/source/edit/textwindowpeer.cxx index ca5437972b0b..5bfc39dc22d5 100644 --- a/svtools/source/edit/textwindowpeer.cxx +++ b/svtools/source/edit/textwindowpeer.cxx @@ -36,8 +36,6 @@ class TextWindowPeer: public VCLXWindow { public: explicit TextWindowPeer(TextView & view); - virtual ~TextWindowPeer() override {} - TextWindowPeer(const TextWindowPeer&) = delete; TextWindowPeer& operator=(const TextWindowPeer&) = delete; diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index 0ce72954b87a..7675a594dc31 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -77,7 +77,6 @@ class SvFilterOptionsDialog : public cppu::WeakImplHelper public: explicit SvFilterOptionsDialog( const uno::Reference< uno::XComponentContext >& _rxORB ); - virtual ~SvFilterOptionsDialog() override; // XInterface virtual void SAL_CALL acquire() throw() override; @@ -122,12 +121,6 @@ SvFilterOptionsDialog::SvFilterOptionsDialog( const uno::Reference< uno::XCompon { } - -SvFilterOptionsDialog::~SvFilterOptionsDialog() -{ -} - - void SAL_CALL SvFilterOptionsDialog::acquire() throw() { OWeakObject::acquire(); diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx index db62a069b28e..8c6141a369eb 100644 --- a/svtools/source/table/cellvalueconversion.cxx +++ b/svtools/source/table/cellvalueconversion.cxx @@ -152,8 +152,6 @@ namespace svt OSL_VERIFY( i_value >>= returnValue ); return returnValue; } - - virtual ~DoubleNormalization() override { } }; @@ -167,8 +165,6 @@ namespace svt { } - virtual ~IntegerNormalization() override {} - virtual double convertToDouble( Any const & i_value ) const override { sal_Int64 value( 0 ); @@ -188,8 +184,6 @@ namespace svt { } - virtual ~BooleanNormalization() override {} - virtual double convertToDouble( Any const & i_value ) const override { bool value( false ); @@ -209,8 +203,6 @@ namespace svt { } - virtual ~DateTimeNormalization() override {} - virtual double convertToDouble( Any const & i_value ) const override { double returnValue(0); @@ -243,8 +235,6 @@ namespace svt { } - virtual ~DateNormalization() override {} - virtual double convertToDouble( Any const & i_value ) const override { double returnValue(0); @@ -273,8 +263,6 @@ namespace svt { } - virtual ~TimeNormalization() override {} - virtual double convertToDouble( Any const & i_value ) const override { double returnValue(0); diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index ece1379a07de..fa2a39137b10 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -107,7 +107,7 @@ class UnoTreeListItem : public SvLBoxString { public: UnoTreeListItem(); - virtual ~UnoTreeListItem() override; + void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem * = nullptr ) override; void SetImage( const Image& rImage ); const OUString& GetGraphicURL() const { return maGraphicURL;} @@ -1495,12 +1495,6 @@ UnoTreeListItem::UnoTreeListItem() { } - -UnoTreeListItem::~UnoTreeListItem() -{ -} - - void UnoTreeListItem::Paint( const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* /*pView*/, const SvTreeListEntry& rEntry) { diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index 5859455b5dec..7fd31632e864 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -73,7 +73,6 @@ class SvUnoImageMapObject : public OWeakAggObject, public: SvUnoImageMapObject( sal_uInt16 nType, const SvEventDescription* pSupportedMacroItems ); SvUnoImageMapObject( const IMapObject& rMapObject, const SvEventDescription* pSupportedMacroItems ); - virtual ~SvUnoImageMapObject() throw() override; UNO3_GETIMPLEMENTATION_DECL( SvUnoImageMapObject ) @@ -245,10 +244,6 @@ SvUnoImageMapObject::SvUnoImageMapObject( const IMapObject& rMapObject, const Sv mxEvents = new SvMacroTableEventDescriptor( rMapObject.GetMacroTable(), pSupportedMacroItems ); } -SvUnoImageMapObject::~SvUnoImageMapObject() throw() -{ -} - IMapObject* SvUnoImageMapObject::createIMapObject() const { const OUString aURL( maURL ); |