drawinglayer/source/texture/texture3d.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2c771d597f0afcdfa1c246877e57d49ae637fe01
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Jun 12 13:10:30 2018 +0100

    forcepoint#41 assert
    
    Change-Id: I4e5ce65593fed5ddeeb972af8c736535ca9d2298
    Reviewed-on: https://gerrit.libreoffice.org/55682
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/drawinglayer/source/texture/texture3d.cxx 
b/drawinglayer/source/texture/texture3d.cxx
index 0dac447ccf50..fc6232022692 100644
--- a/drawinglayer/source/texture/texture3d.cxx
+++ b/drawinglayer/source/texture/texture3d.cxx
@@ -90,7 +90,8 @@ namespace drawinglayer
                 mpReadTransparence = Bitmap::ScopedReadAccess(maTransparence);
             }
 
-            mpReadBitmap = Bitmap::ScopedReadAccess(maBitmap);
+            if (!!maBitmap)
+                mpReadBitmap = Bitmap::ScopedReadAccess(maBitmap);
             SAL_WARN_IF(!mpReadBitmap, "drawinglayer", "GeoTexSvxBitmapEx: Got 
no read access to Bitmap");
             if (mpReadBitmap)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to