summaryrefslogtreecommitdiff
path: root/sc/inc/chartarr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-12 18:58:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 08:30:26 +0200
commit647e11dc2fcbf0c8f7e39f4260d2b89057267e36 (patch)
treeb90e69042d1b95c59c3d4e5918d64ed3b2bbad3e /sc/inc/chartarr.hxx
parentd9e8fdbcd2f834a483890b409ede1b44c2da5da3 (diff)
loplugin:useuniqueptr in sc
Change-Id: I004e1f0292c8a40515880546574255ab835dbdbe Reviewed-on: https://gerrit.libreoffice.org/39875 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/chartarr.hxx')
-rw-r--r--sc/inc/chartarr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx
index 6165290ee5b2..57feca6d91a1 100644
--- a/sc/inc/chartarr.hxx
+++ b/sc/inc/chartarr.hxx
@@ -36,7 +36,7 @@ class ScMemChart
{
SCROW nRowCnt;
SCCOL nColCnt;
- double* pData;
+ std::unique_ptr<double[]> pData;
OUString* pColText;
OUString* pRowText;