From 1ae5f7978788ac5192b19bb3da791bb27c7b2d89 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 3 Nov 2017 15:09:32 +0200 Subject: loplugin:finalclasses in editeng Change-Id: I3cf074d101311e516ee1ce23ad032225780f3e25 Reviewed-on: https://gerrit.libreoffice.org/44314 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/borderline.hxx | 3 +-- include/editeng/unofield.hxx | 5 +---- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx index fd356b489546..b873852fc7a0 100644 --- a/include/editeng/borderline.hxx +++ b/include/editeng/borderline.hxx @@ -137,9 +137,8 @@ double EDITENG_DLLPUBLIC ConvertBorderWidthToWord(SvxBorderLineStyle, double); double EDITENG_DLLPUBLIC ConvertBorderWidthFromWord(SvxBorderLineStyle, double, int); -class EDITENG_DLLPUBLIC SvxBorderLine +class EDITENG_DLLPUBLIC SvxBorderLine final { -protected: Color aColor; long m_nWidth; diff --git a/include/editeng/unofield.hxx b/include/editeng/unofield.hxx index 31594e91bb77..8e81da850f99 100644 --- a/include/editeng/unofield.hxx +++ b/include/editeng/unofield.hxx @@ -43,20 +43,17 @@ class SvxFieldData; css::uno::Reference< css::uno::XInterface > EDITENG_DLLPUBLIC SAL_CALL SvxUnoTextCreateTextField( const OUString& ServiceSpecifier ); -class EDITENG_DLLPUBLIC SvxUnoTextField : public SvxMutexHelper, +class EDITENG_DLLPUBLIC SvxUnoTextField final : public SvxMutexHelper, public ::cppu::OComponentHelper, public css::text::XTextField, public css::beans::XPropertySet, public css::lang::XServiceInfo, public css::lang::XUnoTunnel { -private: css::uno::Reference< css::text::XTextRange > mxAnchor; const SfxItemPropertySet* mpPropSet; sal_Int32 mnServiceId; std::unique_ptr mpImpl; - -protected: css::uno::Sequence< css::uno::Type > maTypeSequence; public: -- cgit