From e3077168072452fb8f1c0a8afb2992877cb96d1c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Jun 2021 09:49:37 +0200 Subject: loplugin:finalclasses improve the plugin to detect more cases. I only apply the new final changes to classes in /include here. Which reveals that RoadmapWizard::getPageController( TabPage* _pCurrentPage ) will always return nullptr Also needed to sprinkle some SAL_DLLPUBLIC_TEMPLATE around to workaround Visual Studio linking problems. Change-Id: Iadb7d46a9e0e73dabce562375ca013c0fea6690c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117365 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/sxmtritm.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svx/sxmtritm.hxx') diff --git a/include/svx/sxmtritm.hxx b/include/svx/sxmtritm.hxx index e208d2790d29..184a59f39307 100644 --- a/include/svx/sxmtritm.hxx +++ b/include/svx/sxmtritm.hxx @@ -23,7 +23,7 @@ #include // text across the dimension line (90deg counter-clockwise rotation) -class SVXCORE_DLLPUBLIC SdrMeasureTextRota90Item: public SdrYesNoItem { +class SVXCORE_DLLPUBLIC SdrMeasureTextRota90Item final : public SdrYesNoItem { public: SdrMeasureTextRota90Item(bool bOn=false): SdrYesNoItem(SDRATTR_MEASURETEXTROTA90,bOn) {} virtual ~SdrMeasureTextRota90Item() override; -- cgit