diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:19:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 10:26:05 +0000 |
commit | 2608523b69fd6f1d888a74674a6ec795b4ad3aad (patch) | |
tree | ce6b6853e447594d03a0b458903defe0a6562771 /include | |
parent | cb55ffa649e73eb12e8edf79950a2494ac5e94b1 (diff) |
loplugin: unnecessary destructor sfx2..store
Change-Id: Idbf2585e48cd89a43ab68c5c8819880d20461ccf
Reviewed-on: https://gerrit.libreoffice.org/33514
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/Metadatable.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/emojiview.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/itemwrapper.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/sidebar/UnoDeck.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/sidebar/UnoDecks.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/sidebar/UnoPanel.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/sidebar/UnoPanels.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 2 |
8 files changed, 1 insertions, 15 deletions
diff --git a/include/sfx2/Metadatable.hxx b/include/sfx2/Metadatable.hxx index b838c9f95e24..f0289d9543ac 100644 --- a/include/sfx2/Metadatable.hxx +++ b/include/sfx2/Metadatable.hxx @@ -141,8 +141,6 @@ class SFX2_DLLPUBLIC MetadatableMixin : public: MetadatableMixin() {}; - virtual ~MetadatableMixin() override {} - // css::rdf::XNode: virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) override; diff --git a/include/sfx2/emojiview.hxx b/include/sfx2/emojiview.hxx index 30245cfd195b..adb8306a2e4e 100644 --- a/include/sfx2/emojiview.hxx +++ b/include/sfx2/emojiview.hxx @@ -42,8 +42,6 @@ public: : mCategory(rCategory) {} - ~ViewFilter_Category () {} - bool operator () (const ThumbnailViewItem *pItem); static bool isFilteredCategory(FILTER_CATEGORY filter, const OUString &rCategory); diff --git a/include/sfx2/itemwrapper.hxx b/include/sfx2/itemwrapper.hxx index 64fbf6d22824..0633bf2d0a92 100644 --- a/include/sfx2/itemwrapper.hxx +++ b/include/sfx2/itemwrapper.hxx @@ -134,8 +134,6 @@ public: inline explicit ValueItemWrapper( sal_uInt16 nSlot ) : SingleItemWrapper< ItemT, ValueT >( nSlot ) {} - virtual ~ValueItemWrapper() {} - virtual ValueT GetItemValue( const ItemT& rItem ) const SAL_OVERRIDE { return static_cast< ValueT >( rItem.GetValue() ); } virtual void SetItemValue( ItemT& rItem, ValueT aValue ) const SAL_OVERRIDE @@ -156,8 +154,6 @@ public: inline explicit IdentItemWrapper( sal_uInt16 nSlot ) : SingleItemWrapper< ItemT, const ItemT& >( nSlot ) {} - virtual ~IdentItemWrapper() {} - virtual const ItemT& GetItemValue( const ItemT& rItem ) const SAL_OVERRIDE { return rItem; } virtual void SetItemValue( ItemT& rItem, const ItemT& rValue ) const SAL_OVERRIDE diff --git a/include/sfx2/sidebar/UnoDeck.hxx b/include/sfx2/sidebar/UnoDeck.hxx index 43d57b2816a4..9e4d05255b15 100644 --- a/include/sfx2/sidebar/UnoDeck.hxx +++ b/include/sfx2/sidebar/UnoDeck.hxx @@ -29,7 +29,6 @@ class SfxUnoDeck : public cppu::WeakImplHelper<css::ui::XDeck> public: SfxUnoDeck(const css::uno::Reference<css::frame::XFrame>& , const OUString&); - virtual ~SfxUnoDeck() override {}; virtual OUString SAL_CALL getId() throw(css::uno::RuntimeException, std::exception) override; diff --git a/include/sfx2/sidebar/UnoDecks.hxx b/include/sfx2/sidebar/UnoDecks.hxx index e17b7a35a089..34cf6ff87521 100644 --- a/include/sfx2/sidebar/UnoDecks.hxx +++ b/include/sfx2/sidebar/UnoDecks.hxx @@ -31,7 +31,6 @@ class SfxUnoDecks : public cppu::WeakImplHelper<css::ui::XDecks> public: SfxUnoDecks(const css::uno::Reference<css::frame::XFrame>&); - virtual ~SfxUnoDecks() override {}; // XNameAccess @@ -71,4 +70,4 @@ private: #endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/sfx2/sidebar/UnoPanel.hxx b/include/sfx2/sidebar/UnoPanel.hxx index a622675ef3b1..8c308100af46 100644 --- a/include/sfx2/sidebar/UnoPanel.hxx +++ b/include/sfx2/sidebar/UnoPanel.hxx @@ -32,7 +32,6 @@ class SfxUnoPanel : public cppu::WeakImplHelper<css::ui::XPanel> public: SfxUnoPanel(const css::uno::Reference<css::frame::XFrame>& , const OUString&, const OUString&); - virtual ~SfxUnoPanel() override {}; virtual OUString SAL_CALL getId() throw(css::uno::RuntimeException, std::exception) override; diff --git a/include/sfx2/sidebar/UnoPanels.hxx b/include/sfx2/sidebar/UnoPanels.hxx index 3a5848bc5bd8..b9558b4efc34 100644 --- a/include/sfx2/sidebar/UnoPanels.hxx +++ b/include/sfx2/sidebar/UnoPanels.hxx @@ -29,7 +29,6 @@ class SfxUnoPanels : public cppu::WeakImplHelper<css::ui::XPanels> public: SfxUnoPanels(const css::uno::Reference<css::frame::XFrame>& , const OUString&); - virtual ~SfxUnoPanels() override {}; // XPanels virtual OUString SAL_CALL getDeckId() diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index d75d86bc8970..1e4267c4c635 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -59,8 +59,6 @@ public: : mApp(App) {} - ~ViewFilter_Application () {} - bool operator () (const ThumbnailViewItem *pItem); static bool isFilteredExtension(FILTER_APPLICATION filter, const OUString &rExt); |