summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 10:42:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 09:39:55 +0000
commit41ea741cd843776cd600d33b28a7f0e35345e0d0 (patch)
tree9a4cc7717b190a99d0791c77205d4dd95c77691a /include/svl
parent028cc38a164493c5049d152eae38a34218428fce (diff)
loplugin:unnecessaryvirtual in sfx2..svtools
Change-Id: Ib34e14806f7cc9a97ecfd68687ab17ee5c1f022b Reviewed-on: https://gerrit.libreoffice.org/30652 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/itemprop.hxx4
-rw-r--r--include/svl/nfkeytab.hxx4
-rw-r--r--include/svl/stylepool.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index 026e1b2e5b22..2e1d397da9cc 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -106,7 +106,7 @@ public:
};
-class SVL_DLLPUBLIC SfxItemPropertySet
+class SVL_DLLPUBLIC SfxItemPropertySet final
{
SfxItemPropertyMap m_aMap;
mutable css::uno::Reference<css::beans::XPropertySetInfo> m_xInfo;
@@ -114,7 +114,7 @@ class SVL_DLLPUBLIC SfxItemPropertySet
public:
SfxItemPropertySet( const SfxItemPropertyMapEntry *pMap ) :
m_aMap(pMap) {}
- virtual ~SfxItemPropertySet();
+ ~SfxItemPropertySet();
void getPropertyValue( const SfxItemPropertySimpleEntry& rEntry,
const SfxItemSet& rSet,
diff --git a/include/svl/nfkeytab.hxx b/include/svl/nfkeytab.hxx
index 04241b0f2dc5..923d528cd51b 100644
--- a/include/svl/nfkeytab.hxx
+++ b/include/svl/nfkeytab.hxx
@@ -104,14 +104,14 @@ enum NfKeywordIndex
NF_KEYWORD_ENTRIES_COUNT
};
-class NfKeywordTable
+class NfKeywordTable final
{
typedef ::std::vector<OUString> Keywords_t;
Keywords_t m_keywords;
public:
NfKeywordTable() : m_keywords(NF_KEYWORD_ENTRIES_COUNT) {};
- virtual ~NfKeywordTable() {}
+ ~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/stylepool.hxx b/include/svl/stylepool.hxx
index 71b0b57cbf4c..fc8a6802d10f 100644
--- a/include/svl/stylepool.hxx
+++ b/include/svl/stylepool.hxx
@@ -26,7 +26,7 @@
class StylePoolImpl;
class IStylePoolIteratorAccess;
-class SVL_DLLPUBLIC StylePool
+class SVL_DLLPUBLIC StylePool final
{
private:
std::unique_ptr<StylePoolImpl> pImpl;
@@ -65,7 +65,7 @@ public:
IStylePoolIteratorAccess* createIterator( const bool bSkipUnusedItemSets = false,
const bool bSkipIgnorableItems = false );
- virtual ~StylePool();
+ ~StylePool();
static OUString nameOf( const std::shared_ptr<SfxItemSet>& pSet );
};