diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-12 13:10:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-12 15:53:14 +0200 |
commit | 2c771d597f0afcdfa1c246877e57d49ae637fe01 (patch) | |
tree | fa0fe55f7119429a8b5a974367b1d85ba120d447 /drawinglayer | |
parent | d468a97f8a101462eefc15174e6c5c3fd5a2b85d (diff) |
forcepoint#41 assert
Change-Id: I4e5ce65593fed5ddeeb972af8c736535ca9d2298
Reviewed-on: https://gerrit.libreoffice.org/55682
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/texture/texture3d.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |