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/svdpage.hxx | |
parent | 9638e6207c7fc48712b1b238177462c00f5011e8 (diff) |
impl. Clone for all subclasses of SdrPage
Change-Id: Ie370161e51ff83cb605bc57d317ff945404e5611
Diffstat (limited to 'include/svx/svdpage.hxx')
-rw-r--r-- | include/svx/svdpage.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index 87bf2f32e8bc..cbacc8c13cbf 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -486,7 +486,7 @@ protected: // classes that needs access to the page objects must be deferred to lateInit. And it must // call lateInit() of its parent class. SdrPage(const SdrPage& rSrcPage); - void lateInit(const SdrPage& rSrcPage); + void lateInit(const SdrPage& rSrcPage, SdrModel* pNewModel = 0); public: TYPEINFO_OVERRIDE(); @@ -575,6 +575,9 @@ public: bool bEdit ); void dumpAsXml(struct _xmlTextWriter* pWriter) const; + +private: + void impl_setModelForLayerAdmin(SdrModel* pNewModel); }; typedef tools::WeakReference< SdrPage > SdrPageWeakRef; |