diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-11 10:36:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-15 15:51:37 +0200 |
commit | 9d31badc81c5044269a50ee2bc16f757f258d617 (patch) | |
tree | 983e7a6b0264b44b12d47d86b5724cb3a7b3cc0b /include/svx | |
parent | e4989ae8ca0d8b37e98caa5b68c164c79d27d574 (diff) |
loplugin:useuniqueptr in disposeOutliner
Change-Id: I038d98a4d4b3dd2a73afd8ddb4c4a7396e52267f
Reviewed-on: https://gerrit.libreoffice.org/59012
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/svdmodel.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index 62bb9dd51533..cfe5ffdd6fb6 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -594,7 +594,7 @@ public: void ReformatAllTextObjects(); std::unique_ptr<SdrOutliner> createOutliner( OutlinerMode nOutlinerMode ); - void disposeOutliner( SdrOutliner* pOutliner ); + void disposeOutliner( std::unique_ptr<SdrOutliner> pOutliner ); bool IsWriter() const { return !bMyPool; } |