diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-06 14:02:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-07 07:36:19 +0100 |
commit | d0a4b17d58285ad616cf951d7e3b5fe89802c01d (patch) | |
tree | 579e636a3d32ca6a7601be8138db41cdf85dfcd8 /cui/source/inc/numpages.hxx | |
parent | e2655495d544d51db68bb6ce94b3264290533bad (diff) |
loplugin:finalclasses in cui
Change-Id: I59c148dbc2bfc1dff554efe7e7c974dc557b2aeb
Reviewed-on: https://gerrit.libreoffice.org/44362
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/numpages.hxx')
-rw-r--r-- | cui/source/inc/numpages.hxx | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 68d63f72e8da..01a542f6b9f4 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -82,7 +82,7 @@ struct SvxNumSettings_Impl typedef std::vector<std::unique_ptr<SvxNumSettings_Impl> > SvxNumSettingsArr_Impl; -class SvxSingleNumPickTabPage : public SfxTabPage +class SvxSingleNumPickTabPage final : public SfxTabPage { using TabPage::ActivatePage; using TabPage::DeactivatePage; @@ -97,9 +97,8 @@ class SvxSingleNumPickTabPage : public SfxTabPage sal_uInt16 nNumItemId; -protected: - DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); - DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); + DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); + DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); public: SvxSingleNumPickTabPage(vcl::Window* pParent, @@ -117,7 +116,7 @@ public: }; -class SvxBulletPickTabPage : public SfxTabPage +class SvxBulletPickTabPage final : public SfxTabPage { using TabPage::ActivatePage; using TabPage::DeactivatePage; @@ -131,9 +130,9 @@ class SvxBulletPickTabPage : public SfxTabPage sal_uInt16 nNumItemId; OUString sBulletCharFormatName; -protected: - DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); - DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); + + DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); + DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); public: SvxBulletPickTabPage(vcl::Window* pParent, const SfxItemSet& rSet); @@ -154,7 +153,7 @@ public: #define NUM_VALUSET_COUNT 16 /// TabPage for complete numeration -class SvxNumPickTabPage : public SfxTabPage +class SvxNumPickTabPage final : public SfxTabPage { using TabPage::ActivatePage; using TabPage::DeactivatePage; @@ -173,9 +172,8 @@ class SvxNumPickTabPage : public SfxTabPage bool bPreset : 1; -protected: - DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); - DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); + DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); + DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); public: SvxNumPickTabPage(vcl::Window* pParent, @@ -198,7 +196,7 @@ public: }; -class SvxBitmapPickTabPage : public SfxTabPage +class SvxBitmapPickTabPage final : public SfxTabPage { using TabPage::ActivatePage; using TabPage::DeactivatePage; @@ -217,10 +215,9 @@ class SvxBitmapPickTabPage : public SfxTabPage bool bModified : 1; bool bPreset : 1; -protected: - DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); - DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); - DECL_LINK(ClickAddBrowseHdl_Impl, Button*, void ); + DECL_LINK(NumSelectHdl_Impl, ValueSet*, void); + DECL_LINK(DoubleClickHdl_Impl, ValueSet*, void); + DECL_LINK(ClickAddBrowseHdl_Impl, Button*, void ); public: |