summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-28 11:12:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 08:37:12 +0200
commit57871f98d30c0283969de1a41e72f5838d6c0eb0 (patch)
tree359af27f4879cc817e2b2139e8e7a55f4492afc7 /sw/inc/numrule.hxx
parent0dde5e7d6c69fbf59a898b019ef230adfef30633 (diff)
loplugin:useuniqueptr in SwNumRule
Change-Id: Id74c0dac582b1dc52076488332e26c88e5e7b4c3 Reviewed-on: https://gerrit.libreoffice.org/52033 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index b1029c810a82..cdbfd9f5f252 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -113,7 +113,7 @@ private:
static SwNumFormat* maLabelAlignmentBaseFormats [ RULE_END ][ MAXLEVEL ];
static sal_uInt16 mnRefCount;
- SwNumFormat* maFormats[ MAXLEVEL ];
+ std::unique_ptr<SwNumFormat> maFormats[ MAXLEVEL ];
/** container for associated text nodes */
tTextNodeList maTextNodeList;