summaryrefslogtreecommitdiff
path: root/cui/source/inc/iconcdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-11 15:07:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-20 09:46:22 +0200
commitc116f3c5b3dc30650d9109d34187e439d2489654 (patch)
treef37a00c32d769408438dcac0acd82b8364d468dd /cui/source/inc/iconcdlg.hxx
parent71198fe7d9539859883b6226738fbea52a08a5c4 (diff)
loplugin:useuniqueptr in IconChoiceDialog
Change-Id: I4a97cd8497056b48f8fb6439b2dc428887e0a0b9 Reviewed-on: https://gerrit.libreoffice.org/56098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/iconcdlg.hxx')
-rw-r--r--cui/source/inc/iconcdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index f65ebc645c34..d72edc06b5a0 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -113,7 +113,7 @@ private:
const SfxItemSet* pSet;
std::unique_ptr<SfxItemSet> pOutSet;
SfxItemSet* pExampleSet;
- sal_uInt16* pRanges;
+ std::unique_ptr<sal_uInt16[]> pRanges;
DECL_LINK( ChosePageHdl_Impl, SvtIconChoiceCtrl*, void );
DECL_LINK( OkHdl, Button*, void );