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/filter | |
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/filter')
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 02c60d37004e..628288088ecc 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -601,7 +601,7 @@ protected: const int _nCalledByGroup ) const override; std::unique_ptr<SvMemoryStream> ImportExOleObjStg( sal_uInt32 nPersistPtr, sal_uInt32& nOleId ) const; - SdrPage* MakeBlankPage(bool bMaster) const; + rtl::Reference<SdrPage> MakeBlankPage(bool bMaster) const; bool ReadFontCollection(); PptSlidePersistList* GetPageList(PptPageKind ePageKind) const; sal_uInt32 GetCurrentPageId(); |