diff options
Diffstat (limited to 'sc/inc/drawpage.hxx')
-rw-r--r-- | sc/inc/drawpage.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/inc/drawpage.hxx b/sc/inc/drawpage.hxx index cbbaff987a6c..8f9348220172 100644 --- a/sc/inc/drawpage.hxx +++ b/sc/inc/drawpage.hxx @@ -24,18 +24,21 @@ class ScDrawLayer; -class ScDrawPage : public FmFormPage +class ScDrawPage: public FmFormPage { ScDrawPage& operator=(const ScDrawPage&) = delete; - ScDrawPage(const ScDrawPage&) = delete; public: explicit ScDrawPage(ScDrawLayer& rNewModel, bool bMasterPage); virtual ~ScDrawPage() override; - virtual ScDrawPage* Clone(SdrModel* pNewModel = nullptr) const override; + virtual ScDrawPage* Clone() const override; + virtual ScDrawPage* Clone(SdrModel* pNewModel) const override; virtual css::uno::Reference< css::uno::XInterface > createUnoPage() override; + +private: + ScDrawPage(const ScDrawPage& rSrcPage); }; #endif |