summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 15:09:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:12:02 +0100
commit1ae5f7978788ac5192b19bb3da791bb27c7b2d89 (patch)
tree225e697835284b27bc568936f3004758ed30ec8e /include/editeng
parente6b200524bd5f614ab5ece88e8187466e7c40096 (diff)
loplugin:finalclasses in editeng
Change-Id: I3cf074d101311e516ee1ce23ad032225780f3e25 Reviewed-on: https://gerrit.libreoffice.org/44314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/borderline.hxx3
-rw-r--r--include/editeng/unofield.hxx5
2 files changed, 2 insertions, 6 deletions
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<SvxUnoFieldData_Impl> mpImpl;
-
-protected:
css::uno::Sequence< css::uno::Type > maTypeSequence;
public: