summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-13 13:11:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-13 13:26:05 +0100
commit2d4988070b06567ce145403294dd402ac0f996d5 (patch)
treef799d29f3907bf5f79e2f196387da505547e311e /sd/inc
parentebd9a6a6521859a465dbbe134e75ead45e1383c1 (diff)
loplugin:useuniqueptr in SdDrawDocument
Change-Id: Ia207c25b091923738811aad4f367a76e9e026283 Reviewed-on: https://gerrit.libreoffice.org/51207 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/drawdoc.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 1b6425dc795c..5ddb69a9b451 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -142,14 +142,14 @@ private:
mpOutliner; ///< local outliner for outline mode
std::unique_ptr<SdOutliner>
mpInternalOutliner; ///< internal outliner for creation of text objects
- Timer* mpWorkStartupTimer;
+ std::unique_ptr<Timer> mpWorkStartupTimer;
Idle* mpOnlineSpellingIdle;
sd::ShapeList* mpOnlineSpellingList;
std::unique_ptr<SvxSearchItem>
mpOnlineSearchItem;
std::vector<std::unique_ptr<sd::FrameView>>
maFrameViewList;
- SdCustomShowList* mpCustomShowList;
+ std::unique_ptr<SdCustomShowList> mpCustomShowList;
::sd::DrawDocShell* mpDocSh;
SdTransferable * mpCreatingTransferable;
bool mbHasOnlineSpellErrors;