[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jul 15 07:25:56 UTC 2018


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

New commits:
commit d7ab10b62e893453a250d4dc9a8a05235590b1d0
Author:     Jochen Nitschke <j.nitschke+logerrit at ok.de>
AuthorDate: Sat Jul 14 13:42:47 2018 +0200
Commit:     Jochen Nitschke <j.nitschke+logerrit at ok.de>
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 <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

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(); }


More information about the Libreoffice-commits mailing list