summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 16:18:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-30 08:20:53 +0200
commit95d7dc537e8979b67ed0928237404fd552880095 (patch)
tree41c2823530f047a207a20bc36619009ddb365fcf /sw/source/uibase
parentaa8182383eaf25e296c4c104c63feb164f90e426 (diff)
loplugin:useuniqueptr in SwCaptionDialog
Change-Id: Ibf49f18ed43bb24a3ef79a0c7862b0dbd2698f3d Reviewed-on: https://gerrit.libreoffice.org/58237 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/cption.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/cption.hxx b/sw/source/uibase/inc/cption.hxx
index 037debb11369..abf3855c52e1 100644
--- a/sw/source/uibase/inc/cption.hxx
+++ b/sw/source/uibase/inc/cption.hxx
@@ -58,7 +58,7 @@ class SwCaptionDialog : public SvxStandardDialog
VclPtr<SwCaptionPreview> m_pPreview;
SwView &rView; // search per active, avoid View
- SwFieldMgr *pMgr; // pointer to save the include
+ std::unique_ptr<SwFieldMgr> pMgr; // pointer to save the include
OUString sCharacterStyle;
bool bCopyAttributes;