diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:21:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 11:29:08 +0000 |
commit | 58868eb9edb819db1684ae04988a77897c62ab59 (patch) | |
tree | 1d67261720b36a5ba45e477e151805a7aa692e20 /svtools | |
parent | 0e726874b4bd111f84483f4a4f6592c8ecec6112 (diff) |
loplugin: unnecessary destructor svl..svtools
Change-Id: Ie96dda7194c83ba88693f8c91899c732d704a4bd
Reviewed-on: https://gerrit.libreoffice.org/33515
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/ruler.cxx | 4 | ||||
-rw-r--r-- | svtools/source/control/scriptedtext.cxx | 6 | ||||
-rw-r--r-- | svtools/source/dialogs/addresstemplate.cxx | 4 | ||||
-rw-r--r-- | svtools/source/graphic/grfcache.cxx | 3 | ||||
-rw-r--r-- | svtools/source/misc/embedhlp.cxx | 4 |
6 files changed, 0 insertions, 27 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 2dbb8362e82b..5c2fc3366acc 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -52,7 +52,6 @@ private: public: SvtAccessibilityOptions_Impl(); - ~SvtAccessibilityOptions_Impl(); void SetVCLSettings(); bool GetIsForPagePreviews() const; @@ -100,11 +99,6 @@ SvtAccessibilityOptions_Impl::SvtAccessibilityOptions_Impl() } } -SvtAccessibilityOptions_Impl::~SvtAccessibilityOptions_Impl() -{ -} - - bool SvtAccessibilityOptions_Impl::GetIsForPagePreviews() const { css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY); diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 0981bc1b331e..413e92cd9bea 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -88,7 +88,6 @@ private: public: ImplRulerData(); - ~ImplRulerData(); ImplRulerData& operator=( const ImplRulerData& rData ); }; @@ -111,9 +110,6 @@ ImplRulerData::ImplRulerData() : { } -ImplRulerData::~ImplRulerData() -{} - ImplRulerData& ImplRulerData::operator=( const ImplRulerData& rData ) { if( this == &rData ) diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx index c0e26ab11230..06a27c0f5f44 100644 --- a/svtools/source/control/scriptedtext.cxx +++ b/svtools/source/control/scriptedtext.cxx @@ -69,8 +69,6 @@ public: /** Copy constructor. */ SvtScriptedTextHelper_Impl( const SvtScriptedTextHelper_Impl& _rCopy ); - /** Destructor. */ - ~SvtScriptedTextHelper_Impl(); /** Sets new fonts and recalculates the text width. */ void SetFonts( vcl::Font* _pLatinFont, vcl::Font* _pAsianFont, vcl::Font* _pCmplxFont ); @@ -111,10 +109,6 @@ SvtScriptedTextHelper_Impl::SvtScriptedTextHelper_Impl( const SvtScriptedTextHel { } -SvtScriptedTextHelper_Impl::~SvtScriptedTextHelper_Impl() -{ -} - const vcl::Font& SvtScriptedTextHelper_Impl::GetFont( sal_uInt16 _nScript ) const { switch( _nScript ) diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 8338cdeb2bce..7d59771ea77d 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -472,10 +472,6 @@ void AssignmentPersistentData::ImplCommit() memset(pFields, 0, sizeof(pFields)); } - ~AddressBookSourceDialogData() - { - } - // Copy assignment is forbidden and not implemented. AddressBookSourceDialogData (const AddressBookSourceDialogData &) = delete; AddressBookSourceDialogData & operator= (const AddressBookSourceDialogData &) = delete; diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx index 1d2cf43a8e6f..273afffaeedc 100644 --- a/svtools/source/graphic/grfcache.cxx +++ b/svtools/source/graphic/grfcache.cxx @@ -48,10 +48,7 @@ private: BitmapChecksum mnID4; public: - - explicit GraphicID( const GraphicObject& rObj ); - ~GraphicID() {} bool operator==( const GraphicID& rID ) const { diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index 451a469eea90..ac3f498eeb9c 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -267,10 +267,6 @@ struct EmbeddedObjectRef_Impl if (r.pGraphic && !r.bNeedUpdate) pGraphic.reset( new Graphic(*r.pGraphic) ); } - - ~EmbeddedObjectRef_Impl() - { - } }; const uno::Reference <embed::XEmbeddedObject>& EmbeddedObjectRef::operator->() const |