diff options
author | David Tardon <dtardon@redhat.com> | 2014-12-04 21:39:43 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-12-04 23:10:25 +0100 |
commit | 51bacc6a065f380a26b8cc2e5c18ff0ab4162ac3 (patch) | |
tree | b42a463a134ff18ddac578dc88066d282268c4eb /include/svx/fmpage.hxx | |
parent | 9638e6207c7fc48712b1b238177462c00f5011e8 (diff) |
impl. Clone for all subclasses of SdrPage
Change-Id: Ie370161e51ff83cb605bc57d317ff945404e5611
Diffstat (limited to 'include/svx/fmpage.hxx')
-rw-r--r-- | include/svx/fmpage.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/svx/fmpage.hxx b/include/svx/fmpage.hxx index a48df9ce5fda..8b90dbb06fb4 100644 --- a/include/svx/fmpage.hxx +++ b/include/svx/fmpage.hxx @@ -55,8 +55,7 @@ public: virtual void SetModel(SdrModel* pNewModel) SAL_OVERRIDE; virtual SdrPage* Clone() const SAL_OVERRIDE; - // TODO: Uh huh, how is this supposed to work? Creating a SdrPage from FmFormPage? - using SdrPage::Clone; + virtual SdrPage* Clone(SdrModel* pNewModel) const SAL_OVERRIDE; virtual void InsertObject(SdrObject* pObj, size_t nPos = SAL_MAX_SIZE, const SdrInsertReason* pReason=NULL) SAL_OVERRIDE; @@ -79,7 +78,7 @@ public: protected: FmFormPage(const FmFormPage& rPage); - void lateInit(const FmFormPage& rPage); + void lateInit(const FmFormPage& rPage, FmFormModel* pNewModel = 0); }; #endif // INCLUDED_SVX_FMPAGE_HXX |