summaryrefslogtreecommitdiff
path: root/sw/inc/drawdoc.hxx
diff options
context:
space:
mode:
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;
};