sc/source/filter/inc/XclExpChangeTrack.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7ab10b62e893453a250d4dc9a8a05235590b1d0
Author:     Jochen Nitschke <[email protected]>
AuthorDate: Sat Jul 14 13:42:47 2018 +0200
Commit:     Jochen Nitschke <[email protected]>
CommitDate: Sun Jul 15 09:25:37 2018 +0200

    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 <[email protected]>
    Tested-by: Jenkins
    Reviewed-by: Jochen Nitschke <[email protected]>

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(); }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to