diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-24 10:20:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-25 08:45:34 +0200 |
commit | 574a6265fb6adb401efefcc1312a4e1d7e6b4ddc (patch) | |
tree | 80f27ea32e31ddd6b1cda09dd536dfa3840db5d6 /sw/inc/PostItMgr.hxx | |
parent | 003b2956d872ac19a1c84fefcc773ecefa008220 (diff) |
loplugin:useuniqueptr in SwPostItMgr
Change-Id: I63dd541ac975648083d75fe5ce1ef86e99016faa
Reviewed-on: https://gerrit.libreoffice.org/57936
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 32f77b8488f6..e3f881e59d39 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -132,7 +132,7 @@ class SwPostItMgr: public SfxListener SwWrtShell* mpWrtShell; VclPtr<SwEditWin> mpEditWin; std::vector<SwSidebarItem*> mvPostItFields; - std::vector<SwPostItPageItem*> mPages; + std::vector<std::unique_ptr<SwPostItPageItem>> mPages; ImplSVEvent * mnEventId; bool mbWaitingForCalcRects; VclPtr<sw::annotation::SwAnnotationWin> mpActivePostIt; |