summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-11 10:36:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-15 15:51:37 +0200
commit9d31badc81c5044269a50ee2bc16f757f258d617 (patch)
tree983e7a6b0264b44b12d47d86b5724cb3a7b3cc0b /include/svx
parente4989ae8ca0d8b37e98caa5b68c164c79d27d574 (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.hxx2
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; }