summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-14 13:42:47 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2018-07-15 09:25:37 +0200
commitd7ab10b62e893453a250d4dc9a8a05235590b1d0 (patch)
tree4e6ef8a31385b862493366cec6abd2267d4eb9f5
parent7e8dbbb02f25278d5afc51ae4a397831f5b21239 (diff)
use array version of unique_ptr
fixes commit 592eb9217a52632e4271db3628c5aafb0cefbee8 loplugin:useuniqueptr in XclExpChTrTabId Change-Id: I03c4f12f0e821ca599db00d7eb2f44749e3c9e95 Reviewed-on: https://gerrit.libreoffice.org/57430 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r--sc/source/filter/inc/XclExpChangeTrack.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx
index f447747cd2d8..557e63b7a4d7 100644
--- a/sc/source/filter/inc/XclExpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclExpChangeTrack.hxx
@@ -319,7 +319,7 @@ public:
class XclExpChTrTabId : public ExcRecord
{
private:
- std::unique_ptr<sal_uInt16> pBuffer;
+ std::unique_ptr<sal_uInt16[]> pBuffer;
sal_uInt16 nTabCount;
void Clear() { pBuffer.reset(); }