diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 13:00:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 13:58:07 +0200 |
commit | be48eb2e82a3d8891ee84145567e2b89884f1fd6 (patch) | |
tree | 17e123be98ce578c3ff10c31a275141dfe2e3afa /svx/source/inc/svdoutlinercache.hxx | |
parent | f66edd357c4572fd69d42c2330f922ec2beaa415 (diff) |
return std::unique_ptr from SdrMakeOutliner
and some of its callers
Change-Id: I121a7810e3e35e76da4ffe5fc5405a7bf86cb66d
Reviewed-on: https://gerrit.libreoffice.org/53728
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc/svdoutlinercache.hxx')
-rw-r--r-- | svx/source/inc/svdoutlinercache.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/inc/svdoutlinercache.hxx b/svx/source/inc/svdoutlinercache.hxx index 30f5c6699e11..9eba3da602c9 100644 --- a/svx/source/inc/svdoutlinercache.hxx +++ b/svx/source/inc/svdoutlinercache.hxx @@ -41,7 +41,7 @@ public: SdrOutlinerCache( SdrModel* pModel ); ~SdrOutlinerCache(); - SdrOutliner* createOutliner( OutlinerMode nOutlinerMode ); + std::unique_ptr<SdrOutliner> createOutliner( OutlinerMode nOutlinerMode ); void disposeOutliner( SdrOutliner* pOutliner ); std::vector< SdrOutliner* > GetActiveOutliners() const; }; |