summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 10:21:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 11:29:08 +0000
commit58868eb9edb819db1684ae04988a77897c62ab59 (patch)
tree1d67261720b36a5ba45e477e151805a7aa692e20 /include/svl
parent0e726874b4bd111f84483f4a4f6592c8ecec6112 (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 'include/svl')
-rw-r--r--include/svl/cintitem.hxx8
-rw-r--r--include/svl/custritm.hxx2
-rw-r--r--include/svl/flagitem.hxx4
-rw-r--r--include/svl/inethist.hxx1
-rw-r--r--include/svl/intitem.hxx2
-rw-r--r--include/svl/metitem.hxx1
-rw-r--r--include/svl/nfkeytab.hxx1
-rw-r--r--include/svl/ondemand.hxx9
-rw-r--r--include/svl/poolitem.hxx1
-rw-r--r--include/svl/ptitem.hxx3
-rw-r--r--include/svl/rectitem.hxx1
-rw-r--r--include/svl/szitem.hxx3
-rw-r--r--include/svl/visitem.hxx2
-rw-r--r--include/svl/zforlist.hxx1
14 files changed, 3 insertions, 36 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx
index e6b404cd1198..2ccfd942d6f9 100644
--- a/include/svl/cintitem.hxx
+++ b/include/svl/cintitem.hxx
@@ -37,8 +37,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~CntByteItem() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -86,8 +84,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~CntUInt16Item() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -135,8 +131,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~CntInt32Item() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
@@ -184,8 +178,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~CntUInt32Item() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
diff --git a/include/svl/custritm.hxx b/include/svl/custritm.hxx
index 84b2db1f6ce1..66f65a85b508 100644
--- a/include/svl/custritm.hxx
+++ b/include/svl/custritm.hxx
@@ -41,8 +41,6 @@ public:
SfxPoolItem(rItem), m_aValue(rItem.m_aValue)
{}
- virtual ~CntUnencodedStringItem() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
diff --git a/include/svl/flagitem.hxx b/include/svl/flagitem.hxx
index f9fd4c05a5d9..3edb95e3a935 100644
--- a/include/svl/flagitem.hxx
+++ b/include/svl/flagitem.hxx
@@ -33,9 +33,7 @@ public:
explicit SfxFlagItem( sal_uInt16 nWhich = 0, sal_uInt16 nValue = 0 );
SfxFlagItem( const SfxFlagItem& );
- virtual ~SfxFlagItem() override {}
-
- virtual sal_uInt8 GetFlagCount() const;
+ virtual sal_uInt8 GetFlagCount() const;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const override;
diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx
index e983d1d6e05c..f5959973a05b 100644
--- a/include/svl/inethist.hxx
+++ b/include/svl/inethist.hxx
@@ -105,7 +105,6 @@ class SVL_DLLPUBLIC INetURLHistoryHint: public SfxHint
const INetURLObject* pObj;
public:
explicit INetURLHistoryHint( const INetURLObject* Object ) : pObj(Object) {}
- virtual ~INetURLHistoryHint() override {}
const INetURLObject* GetObject() const { return pObj; }
};
diff --git a/include/svl/intitem.hxx b/include/svl/intitem.hxx
index da2dc649d755..6a0e4e92d439 100644
--- a/include/svl/intitem.hxx
+++ b/include/svl/intitem.hxx
@@ -55,8 +55,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~SfxInt16Item() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation,
diff --git a/include/svl/metitem.hxx b/include/svl/metitem.hxx
index 5fcd3ceb7883..c4a5217e050a 100644
--- a/include/svl/metitem.hxx
+++ b/include/svl/metitem.hxx
@@ -28,7 +28,6 @@ public:
explicit SfxMetricItem( sal_uInt16 nWhich, sal_uInt32 nValue );
SfxMetricItem( sal_uInt16 nWhich, SvStream & );
SfxMetricItem( const SfxMetricItem& );
- virtual ~SfxMetricItem() override {}
virtual void ScaleMetrics( long lMult, long lDiv ) override;
virtual bool HasMetrics() const override;
diff --git a/include/svl/nfkeytab.hxx b/include/svl/nfkeytab.hxx
index 923d528cd51b..7872cc4fb512 100644
--- a/include/svl/nfkeytab.hxx
+++ b/include/svl/nfkeytab.hxx
@@ -111,7 +111,6 @@ class NfKeywordTable final
public:
NfKeywordTable() : m_keywords(NF_KEYWORD_ENTRIES_COUNT) {};
- ~NfKeywordTable() {}
OUString & operator[] (Keywords_t::size_type n) { return m_keywords[n]; }
const OUString & operator[] (Keywords_t::size_type n) const { return m_keywords[n]; }
diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx
index a458877186a5..69139b9cb119 100644
--- a/include/svl/ondemand.hxx
+++ b/include/svl/ondemand.hxx
@@ -149,9 +149,6 @@ public:
, bValid(false)
, bInitialized(false)
{}
- ~OnDemandCalendarWrapper()
- {
- }
void init(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
@@ -207,9 +204,6 @@ public:
, bValid(false)
, bInitialized(false)
{}
- ~OnDemandTransliterationWrapper()
- {
- }
bool isInitialized() const { return bInitialized; }
@@ -265,9 +259,6 @@ public:
: pPtr(nullptr)
, bInitialized(false)
{}
- ~OnDemandNativeNumberWrapper()
- {
- }
void init(
const css::uno::Reference< css::uno::XComponentContext >& rxContext
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index b6d8011a40f5..fa2fbd1bd026 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -288,7 +288,6 @@ class SVL_DLLPUBLIC SfxPoolItemHint: public SfxHint
SfxPoolItem* pObj;
public:
explicit SfxPoolItemHint( SfxPoolItem* Object ) : pObj(Object) {}
- virtual ~SfxPoolItemHint() override {}
SfxPoolItem* GetObject() const { return pObj; }
};
diff --git a/include/svl/ptitem.hxx b/include/svl/ptitem.hxx
index 62f75172ad10..0d135ee6481d 100644
--- a/include/svl/ptitem.hxx
+++ b/include/svl/ptitem.hxx
@@ -34,9 +34,8 @@ public:
SfxPointItem();
SfxPointItem( sal_uInt16 nWhich, const Point& rVal );
SfxPointItem( const SfxPointItem& );
- virtual ~SfxPointItem() override {}
- virtual bool GetPresentation( SfxItemPresentation ePres,
+ virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
diff --git a/include/svl/rectitem.hxx b/include/svl/rectitem.hxx
index 28872aec9a69..359b7aa4de41 100644
--- a/include/svl/rectitem.hxx
+++ b/include/svl/rectitem.hxx
@@ -35,7 +35,6 @@ public:
SfxRectangleItem();
SfxRectangleItem( sal_uInt16 nWhich, const Rectangle& rVal );
SfxRectangleItem( const SfxRectangleItem& );
- virtual ~SfxRectangleItem() override {}
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
diff --git a/include/svl/szitem.hxx b/include/svl/szitem.hxx
index 7fac37987f25..0adfd8466568 100644
--- a/include/svl/szitem.hxx
+++ b/include/svl/szitem.hxx
@@ -33,9 +33,8 @@ private:
public:
SfxSizeItem( sal_uInt16 nWhich, const Size& rVal );
SfxSizeItem( const SfxSizeItem& );
- virtual ~SfxSizeItem() override {}
- virtual bool GetPresentation( SfxItemPresentation ePres,
+ virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
diff --git a/include/svl/visitem.hxx b/include/svl/visitem.hxx
index e6e054eff5bb..8d3076d96058 100644
--- a/include/svl/visitem.hxx
+++ b/include/svl/visitem.hxx
@@ -42,8 +42,6 @@ public:
SfxPoolItem(rItem), m_nValue(rItem.m_nValue)
{}
- virtual ~SfxVisibilityItem() override {}
-
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit,
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index ab7dd90f1426..37c2b26c91cd 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -249,7 +249,6 @@ public:
NfCurrencyEntry( const css::i18n::Currency & rCurr,
const LocaleDataWrapper& rLocaleData,
LanguageType eLang );
- ~NfCurrencyEntry() {}
/// Symbols and language identical
bool operator==( const NfCurrencyEntry& r ) const;