diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/bitmap4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx index b1e3ca8a3c2f..cc7b7daebcde 100644 --- a/vcl/source/gdi/bitmap4.cxx +++ b/vcl/source/gdi/bitmap4.cxx @@ -585,7 +585,7 @@ bool Bitmap::ImplEmbossGrey( const BmpFilterParam* pFilterParam ) const long nLx = FRound( cos( fAzim ) * cos( fElev ) * 255.0 ); const long nLy = FRound( sin( fAzim ) * cos( fElev ) * 255.0 ); const long nLz = FRound( sin( fElev ) * 255.0 ); - const long nZ2 = ( ( 6 * 255 ) / 4 ) * ( ( 6 * 255 ) / 4 ); + const auto nZ2 = ( ( 6 * 255 ) / 4 ) * ( ( 6 * 255 ) / 4 ); const long nNzLz = ( ( 6 * 255 ) / 4 ) * nLz; const sal_uInt8 cLz = (sal_uInt8) SAL_BOUND( nLz, 0, 255 ); |