summaryrefslogtreecommitdiff
path: root/sc/inc/attrib.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-11 14:05:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-13 11:39:21 +0000
commit414ede0435645a2ebf8f1476435b6ec3bb248f33 (patch)
tree97f4fc1f1f3a3b9c077ae11348baa6fed6852f9b /sc/inc/attrib.hxx
parentd05f56b160390022fdb0c21eed5e430440cd79ca (diff)
new loplugin: useuniqueptr: sc part 1
Change-Id: Ic96fd3b56b2063df0882168a7d02725d3c50515f Reviewed-on: https://gerrit.libreoffice.org/32961 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/attrib.hxx')
-rw-r--r--sc/inc/attrib.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 3b71b8c79aa4..83235acd0e6f 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -214,7 +214,7 @@ public:
public:
sal_uInt16 nCount;
- SCTAB* pTabArr;
+ std::unique_ptr<SCTAB[]> pTabArr;
};
inline ScTableListItem::ScTableListItem( const sal_uInt16 nWhichP )