diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-07 10:17:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-07 12:06:35 +0000 |
commit | d4f78fa3b61a54dca64504bd76990baf20e2313f (patch) | |
tree | 9b05eb19f939a694dc3b9db3efa31dc1d5735abb /svx | |
parent | b7914a9a566413eac55c7e115da1cb3552cd58df (diff) |
loplugin:unnecessaryvirtual in svx..sw
Change-Id: I4ae8de558550e6577c28b95e0aaed74f00d79c29
Reviewed-on: https://gerrit.libreoffice.org/30650
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/inc/fmexpl.hxx | 4 | ||||
-rw-r--r-- | svx/source/inc/svdobjplusdata.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.hxx | 4 | ||||
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx index 6695d6b67d92..a05a218abea7 100644 --- a/svx/source/inc/fmexpl.hxx +++ b/svx/source/inc/fmexpl.hxx @@ -190,14 +190,14 @@ public: typedef ::std::vector< FmEntryData* > FmEntryDataBaseList; -class FmEntryDataList +class FmEntryDataList final { private: FmEntryDataBaseList maEntryDataList; public: FmEntryDataList(); - virtual ~FmEntryDataList(); + ~FmEntryDataList(); FmEntryData* at( size_t Index ) { return ( Index < maEntryDataList.size() ) ? maEntryDataList[ Index ] : nullptr; } diff --git a/svx/source/inc/svdobjplusdata.hxx b/svx/source/inc/svdobjplusdata.hxx index 8f7c1a7cf99e..e36e51a6e86e 100644 --- a/svx/source/inc/svdobjplusdata.hxx +++ b/svx/source/inc/svdobjplusdata.hxx @@ -18,7 +18,7 @@ class SdrObjUserDataList; class SdrGluePointList; // Bitsack for DrawObjects -class SdrObjPlusData +class SdrObjPlusData final { friend class SdrObject; @@ -34,7 +34,7 @@ class SdrObjPlusData public: SdrObjPlusData(); - virtual ~SdrObjPlusData(); + ~SdrObjPlusData(); SdrObjPlusData* Clone(SdrObject* pObj1) const; void SetGluePoints(const SdrGluePointList& rPts); diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index 5cb2e648dd65..4c00601e7a29 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -52,11 +52,11 @@ typedef std::vector< BorderLineVector > BorderLineMap; // TableModel -class TableLayouter +class TableLayouter final { public: explicit TableLayouter( const TableModelRef& xTableModel ); - virtual ~TableLayouter(); + ~TableLayouter(); /** try to fit the table into the given rectangle. If the rectangle is to small, it will be grown to fit the table. diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index 4b37723a5456..3effd13b58b6 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -36,13 +36,13 @@ namespace textconversiondlgs { -struct DictionaryEntry +struct DictionaryEntry final { DictionaryEntry( const OUString& rTerm, const OUString& rMapping , sal_Int16 nConversionPropertyType //linguistic2::ConversionPropertyType , bool bNewEntry = false ); - virtual ~DictionaryEntry(); + ~DictionaryEntry(); OUString m_aTerm; OUString m_aMapping; |