summaryrefslogtreecommitdiff
path: root/sw/inc/drawdoc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:23:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-04 10:29:24 +0100
commitdaa344f3e9683c16479ef5081fb03325af103c07 (patch)
tree9eaad4d46de6e6cbbbee9f2e0d911563cf5cd12d /sw/inc/drawdoc.hxx
parentfa7f07d23de31e5f1660a643d83ca8a2e565f69c (diff)
loplugin:finalclasses in sw/inc
Change-Id: I084502d8c5607f103ef987b54252ef95341f0bef Reviewed-on: https://gerrit.libreoffice.org/81981 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/drawdoc.hxx')
-rw-r--r--sw/inc/drawdoc.hxx4
1 files changed, 2 insertions, 2 deletions
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<css::embed::XStorage> GetDocumentStorage() const override;
-protected:
+private:
/// override of <SdrModel::createUnoModel()> is needed to provide corresponding uno model.
virtual css::uno::Reference< css::uno::XInterface > createUnoModel() override;
};