diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-29 09:23:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-29 09:49:45 +0100 |
commit | bfd6beaa8e836c739dcc2af67ebd634f03cb2060 (patch) | |
tree | 875ed98992f9efd3941c8e1621dfd651d6f0bf2f /include/cui | |
parent | af16372211927c3ed1b3cc760ec182c30fda491c (diff) |
loplugin:finalclasses in drawinglayer
Change-Id: I24e5187f603f66ef87f10a1b197907c5b869cfd1
Reviewed-on: https://gerrit.libreoffice.org/81644
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/cui')
-rw-r--r-- | include/cui/cuicharmap.hxx | 4 | ||||
-rw-r--r-- | include/cui/numberingpreview.hxx | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/cui/cuicharmap.hxx b/include/cui/cuicharmap.hxx index fbe9b11f369e..7c5ca0d28a23 100644 --- a/include/cui/cuicharmap.hxx +++ b/include/cui/cuicharmap.hxx @@ -41,7 +41,7 @@ struct SvxShowCharSetItem; } /// Provides the show characters or texts in a drawing area with special sizes and fonts. -class CUI_DLLPUBLIC SvxShowText : public weld::CustomWidgetController +class CUI_DLLPUBLIC SvxShowText final : public weld::CustomWidgetController { private: ScopedVclPtr<VirtualDevice> m_xVirDev; @@ -68,7 +68,7 @@ public: /** The main purpose of this dialog is to enable the use of characters that are not easily accessible from the keyboard. */ -class CUI_DLLPUBLIC SvxCharacterMap : public SfxDialogController +class CUI_DLLPUBLIC SvxCharacterMap final : public SfxDialogController { private: void init(); diff --git a/include/cui/numberingpreview.hxx b/include/cui/numberingpreview.hxx index 979773df6f72..8a7883522bf0 100644 --- a/include/cui/numberingpreview.hxx +++ b/include/cui/numberingpreview.hxx @@ -6,14 +6,13 @@ #include <vcl/customweld.hxx> /// Provides the preview to show how looks bullet or numbering format before the apply. -class CUI_DLLPUBLIC SvxNumberingPreview : public weld::CustomWidgetController +class CUI_DLLPUBLIC SvxNumberingPreview final : public weld::CustomWidgetController { const SvxNumRule* pActNum; vcl::Font aStdFont; bool bPosition; sal_uInt16 nActLevel; -protected: virtual void Paint(vcl::RenderContext& rRenderContext, const ::tools::Rectangle& rRect) override; |