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

Stephan Bergmann sbergman at redhat.com
Wed Feb 7 13:32:06 UTC 2018


 package/source/zipapi/MemoryByteGrabber.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 37413f569ad557cc08ea625ce18a6570eb00f075
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Feb 7 14:30:56 2018 +0100

    Prevent MemoryByteGrabber from ever taking temporaries again
    
    ...after c99527385acf367c748b3dcf3e6a3bb8103f5eee "MemoryByteGrabber sequence
    has to exist for Grabber lifetime"
    
    Change-Id: Idcb7548aaa7741e8e535024ba36c7a171a6c2fb4

diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx
index 7f3c42485876..9b1c096ae056 100644
--- a/package/source/zipapi/MemoryByteGrabber.hxx
+++ b/package/source/zipapi/MemoryByteGrabber.hxx
@@ -34,6 +34,8 @@ public:
     , mnEnd ( rBuffer.getLength() )
     {
     }
+    MemoryByteGrabber(css::uno::Sequence<sal_Int8> &&) = delete;
+
     const sal_Int8 * getCurrentPos () { return mpBuffer + mnCurrent; }
 
     sal_Int32 remainingSize() const { return mnEnd - mnCurrent; }


More information about the Libreoffice-commits mailing list