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

Noel Grandin noel.grandin at collabora.co.uk
Fri Jan 20 09:41:32 UTC 2017


 sot/source/sdstor/stgcache.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a55e5389a84542768568acc7fd69af20e3fe0745
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Jan 20 11:39:51 2017 +0200

    this field should be std::unique_ptr to sal_uInt8[], not sal_uInt8
    
    Change-Id: Ia4ca8693e7c89a23ccbf2e71261c072dd6f8affa

diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx
index 5964902..14942e3 100644
--- a/sot/source/sdstor/stgcache.hxx
+++ b/sot/source/sdstor/stgcache.hxx
@@ -96,7 +96,7 @@ public:
 class StgPage : public salhelper::SimpleReferenceObject
 {
     const sal_Int32 mnPage;                // page index
-    std::unique_ptr<sal_uInt8>
+    std::unique_ptr<sal_uInt8[]>
                     mpData;                // nSize bytes
     short           mnSize;                // size of this page
              StgPage( short nData, sal_Int32 nPage );


More information about the Libreoffice-commits mailing list