summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 11:06:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 07:50:20 +0100
commit76643b208c7f0c43b0603e08a3b37f29878c42ea (patch)
treedca5e3486784c4dd919e375313b7b0bc3338712a /include/editeng
parent6b786b43c63419f13cadab200f9af8095a1e8d56 (diff)
loplugin:useuniqueptr in SvxNumRule
Change-Id: I778f62edbddfa2ca10eefa396272e7b011025513 Reviewed-on: https://gerrit.libreoffice.org/49172 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/numitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 1acc63f6431c..f6fb25eb8476 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -245,7 +245,7 @@ class EDITENG_DLLPUBLIC SvxNumRule final
SvxNumRuleType eNumberingType; // Type of numbering
bool bContinuousNumbering; // sequential numbering
- SvxNumberFormat* aFmts[SVX_MAX_NUM];
+ std::unique_ptr<SvxNumberFormat> aFmts[SVX_MAX_NUM];
bool aFmtsSet[SVX_MAX_NUM]; // Flags indicating valid levels
static sal_Int32 nRefCount;