diff options
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r-- | vcl/osx/salinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index b090957fc922..85651e2079e9 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -901,7 +901,7 @@ CGImageRef CreateCGImage( const Image& rImage ) BitmapEx aBmpEx( rImage.GetBitmapEx() ); Bitmap aBmp( aBmpEx.GetBitmap() ); - if( ! aBmp || ! aBmp.ImplGetSalBitmap() ) + if( aBmp.IsEmpty() || ! aBmp.ImplGetSalBitmap() ) return nullptr; // simple case, no transparency |