summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-11 15:53:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-20 14:47:16 +0200
commit370a30b6acc5b99b6046440f6b5f4f3f5f9f4b1a (patch)
tree17225c9f32f75121f4687dbc91b4d275e7b9a56e /sd/inc
parentd791fe853c47832aa766310947a89599b4f754e7 (diff)
loplugin:useuniqueptr in SdDrawDocument
Change-Id: Id67b08d8d8a08d7e19ef8534b7bb9d689a571e06 Reviewed-on: https://gerrit.libreoffice.org/56105 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/drawdoc.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 625c2289c3b4..e576aa749eaa 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -143,8 +143,10 @@ private:
std::unique_ptr<SdOutliner>
mpInternalOutliner; ///< internal outliner for creation of text objects
std::unique_ptr<Timer> mpWorkStartupTimer;
- Idle* mpOnlineSpellingIdle;
- sd::ShapeList* mpOnlineSpellingList;
+ std::unique_ptr<Idle>
+ mpOnlineSpellingIdle;
+ std::unique_ptr<sd::ShapeList>
+ mpOnlineSpellingList;
std::unique_ptr<SvxSearchItem>
mpOnlineSearchItem;
std::vector<std::unique_ptr<sd::FrameView>>