[Libreoffice-commits] core.git: Branch 'private/Ashod/cd-5.3.3.2' - vcl/source

Jan Holesovsky kendy at collabora.com
Fri May 11 15:17:51 UTC 2018


 vcl/source/gdi/dibtools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5224d24469c6e181999d6a8182093e8bf199078d
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri May 11 17:14:12 2018 +0200

    fixup! svx: support importing PDF images
    
    Change-Id: I35e615e647aee7290e31fed7891d51971775e472

diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index fa91b4ecd504..be1759f97c1d 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -1802,7 +1802,7 @@ bool ReadRawDIB(
     const int nHeight,
     const int nStride)
 {
-    BitmapScopedWriteAccess pWriteAccess(rTarget.AcquireWriteAccess(), rTarget);
+    Bitmap::ScopedWriteAccess pWriteAccess(rTarget.AcquireWriteAccess(), rTarget);
     for (int nRow = 0; nRow < nHeight; ++nRow)
     {
         pWriteAccess->CopyScanline(nRow, pBuf + (nStride * nRow), nFormat, nStride);


More information about the Libreoffice-commits mailing list