diff options
Diffstat (limited to 'svtools/source/graphic/transformer.cxx')
-rw-r--r-- | svtools/source/graphic/transformer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/transformer.cxx b/svtools/source/graphic/transformer.cxx index dbb6bfc0160a..775dfb1b0239 100644 --- a/svtools/source/graphic/transformer.cxx +++ b/svtools/source/graphic/transformer.cxx @@ -139,7 +139,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL GraphicTransformer::applyDuotone( BitmapEx aBitmapEx( aGraphic.GetBitmapEx() ); AlphaMask aMask( aBitmapEx.GetAlpha() ); Bitmap aBitmap( aBitmapEx.GetBitmap() ); - BmpFilterParam aFilter( (sal_uLong) nColorOne, (sal_uLong) nColorTwo ); + BmpFilterParam aFilter( static_cast<sal_uLong>(nColorOne), static_cast<sal_uLong>(nColorTwo) ); aBitmap.Filter( BmpFilter::DuoTone, &aFilter ); aGraphic = ::Graphic( BitmapEx( aBitmap, aMask ) ); |