vcl/source/gdi/dibtools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f8687658fbc212f2baa7861767aed3c27fcc1477 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Apr 24 09:31:26 2014 +0200 Fix scoped_ptr -> scoped_array Change-Id: I427c49efabbe5cb60b5dc945d9c7f48c504700f0 diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index 2b5ad44..b61a1ad 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -442,7 +442,7 @@ bool ImplReadDIBBits(SvStream& rIStm, DIBV5Header& rHeader, BitmapWriteAccess& r rHeader.nSizeImage = rIStm.remainingSize(); } - boost::scoped_ptr<sal_uInt8> pBuffer( + boost::scoped_array<sal_uInt8> pBuffer( new sal_uInt8[rHeader.nSizeImage]); if (rIStm.Read((char*)pBuffer.get(), rHeader.nSizeImage) != rHeader.nSizeImage) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits