From daa344f3e9683c16479ef5081fb03325af103c07 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Nov 2019 10:23:13 +0200 Subject: loplugin:finalclasses in sw/inc Change-Id: I084502d8c5607f103ef987b54252ef95341f0bef Reviewed-on: https://gerrit.libreoffice.org/81981 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/inc/drawdoc.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc/drawdoc.hxx') diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx index b607cb9e100a..de45437efbc2 100644 --- a/sw/inc/drawdoc.hxx +++ b/sw/inc/drawdoc.hxx @@ -23,7 +23,7 @@ class SwDoc; -class SwDrawModel : public FmFormModel +class SwDrawModel final : public FmFormModel { private: SwDoc* m_pDoc; @@ -41,7 +41,7 @@ public: virtual css::uno::Reference GetDocumentStorage() const override; -protected: +private: /// override of is needed to provide corresponding uno model. virtual css::uno::Reference< css::uno::XInterface > createUnoModel() override; }; -- cgit