From bfd6beaa8e836c739dcc2af67ebd634f03cb2060 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 29 Oct 2019 09:23:53 +0200 Subject: loplugin:finalclasses in drawinglayer Change-Id: I24e5187f603f66ef87f10a1b197907c5b869cfd1 Reviewed-on: https://gerrit.libreoffice.org/81644 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/cui/cuicharmap.hxx | 4 ++-- include/cui/numberingpreview.hxx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include/cui') 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 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 /// 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; -- cgit