diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:17:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 17:17:32 +0100 |
commit | 8b30c5228b9d2031e5bbd2511a3bbe5f760ce836 (patch) | |
tree | 26672a40cebfdaf1f2c880b40b4b94d19ec575c8 /vcl/source/gdi/bitmap.cxx | |
parent | 7661bbbaef31adfdb298b1447301b24a70f85834 (diff) |
Rewrite some (trivial) assignments inside if/while conditions: vcl
Change-Id: I26fd9bf9838b0d9d6cf35dc62195216a0c1333ee
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index cf0bf70343e3..f5ce79857b96 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -710,7 +710,8 @@ bool Bitmap::Rotate( long nAngle10, const Color& rFillColor ) ReleaseAccess( pReadAcc ); } - if( ( bRet = !!aRotatedBmp ) ) + bRet = !!aRotatedBmp; + if( bRet ) ImplAssignWithSize( aRotatedBmp ); } |