diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-11 14:19:47 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-23 06:59:17 +0000 |
commit | 98e4013c22c4ce63090a575e698cc2af82925e6b (patch) | |
tree | 571d99c39420e929cd43e0365354da1aced03e68 /sw/source/uibase/inc/swuiidxmrk.hxx | |
parent | 2d1cecf02b34d855c8d64e3271bffbcbf9bf4138 (diff) |
new loplugin useuniqueptr
Change-Id: Ic7a8b32887c968d86568e4cfad7ddd1f4da7c73f
Reviewed-on: https://gerrit.libreoffice.org/33339
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/swuiidxmrk.hxx')
-rw-r--r-- | sw/source/uibase/inc/swuiidxmrk.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/swuiidxmrk.hxx b/sw/source/uibase/inc/swuiidxmrk.hxx index 609e2d1b8c14..2ae2ab4f4a0e 100644 --- a/sw/source/uibase/inc/swuiidxmrk.hxx +++ b/sw/source/uibase/inc/swuiidxmrk.hxx @@ -35,6 +35,7 @@ #include <sfx2/childwin.hxx> #include "toxe.hxx" #include <com/sun/star/i18n/XExtendedIndexEntrySupplier.hpp> +#include <memory> class SwWrtShell; class SwTOXMgr; @@ -99,7 +100,8 @@ class SwIndexMarkPane css::uno::Reference< css::i18n::XExtendedIndexEntrySupplier > xExtendedIndexEntrySupplier; - SwTOXMgr* pTOXMgr; + std::unique_ptr<SwTOXMgr> + pTOXMgr; SwWrtShell* pSh; void Apply(); |