diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-05 10:47:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-07 13:24:51 +0100 |
commit | 1d2773807f6d2deb1181ef4b14fbdd49ca1d5c14 (patch) | |
tree | 788ef3ef220549c9785bcf1f5b35becc176300d4 /include/svx/fmpage.hxx | |
parent | loplugin:staticdynamic now with extra salt (diff) | |
download | core-1d2773807f6d2deb1181ef4b14fbdd49ca1d5c14.tar.gz core-1d2773807f6d2deb1181ef4b14fbdd49ca1d5c14.zip |
ref-count SdrPage
which simplifies ownership handling, particularly with regard to
undo/redo
Change-Id: Ie8f300ebfdae6db3c06f78a87e35a07497d6b825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111991
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/fmpage.hxx')
-rw-r--r-- | include/svx/fmpage.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/fmpage.hxx b/include/svx/fmpage.hxx index 7459837ec31e..f8b3c11cb72f 100644 --- a/include/svx/fmpage.hxx +++ b/include/svx/fmpage.hxx @@ -50,7 +50,7 @@ public: explicit FmFormPage(FmFormModel& rModel, bool bMasterPage=false); virtual ~FmFormPage() override; - virtual SdrPage* CloneSdrPage(SdrModel& rTargetModel) const override; + virtual rtl::Reference<SdrPage> CloneSdrPage(SdrModel& rTargetModel) const override; virtual void InsertObject(SdrObject* pObj, size_t nPos = SAL_MAX_SIZE) override; |