diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-19 17:08:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-19 17:09:59 +0100 |
commit | e3b81f3df69cdbc086f2960e1fb00d17b8c90178 (patch) | |
tree | b674bedc249021d08629ea66b2c230882df893b1 /vcl | |
parent | 5bf9c67fa14e8b3c30e6ca7afc414414b4eb3ad6 (diff) |
bogus warning
since...
commit 9c79945ca62b18213728cdd23d9f390304aee1de
Date: Sun Jun 12 20:11:20 2016 +0200
convert DBG_ASSERT in vcl
Change-Id: I67b2f0d21965a70980c4f0c522a0431107216a27
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 611c4208dbc3..7030f8e8b842 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -380,7 +380,7 @@ bool BitmapEx::Scale( const double& rScaleX, const double& rScaleY, BmpScaleFlag aBitmapSize = aBitmap.GetSizePixel(); - SAL_WARN_IF( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), "vcl", + SAL_WARN_IF( !!aMask && aBitmap.GetSizePixel() != aMask.GetSizePixel(), "vcl", "BitmapEx::Scale(): size mismatch for bitmap and alpha mask." ); } |