[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 29 10:16:32 UTC 2020
vcl/source/bitmap/BitmapTools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6934049abe5581ba543212f07fec8c411122c806
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 28 20:22:59 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Oct 29 11:15:52 2020 +0100
ofz#26708: Direct-leak
since...
commit cd8dd48bf89d800c012afb04b16281ed8b261de9
Date: Tue Aug 21 16:07:55 2018 +0200
tdf#119282 Area tab, Pattern color change
Change-Id: If0c988f7532786a4089edef39929f924d8e2ec2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104976
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/bitmap/BitmapTools.cxx b/vcl/source/bitmap/BitmapTools.cxx
index d49fd7a5efb3..6ec56ee09138 100644
--- a/vcl/source/bitmap/BitmapTools.cxx
+++ b/vcl/source/bitmap/BitmapTools.cxx
@@ -987,7 +987,7 @@ void CanvasCairoExtractBitmapData( BitmapEx const & aBmpEx, Bitmap & aBitmap, un
aPalette[1] = BitmapColor(aColorPix);
Bitmap aBitmap(Size(8, 8), 1, &aPalette);
- BitmapWriteAccess* pContent(aBitmap.AcquireWriteAccess());
+ BitmapScopedWriteAccess pContent(aBitmap);
for(sal_uInt16 a(0); a < 8; a++)
{
More information about the Libreoffice-commits
mailing list