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 0de58a36dd84..4375caeb4efa 100644 --- a/svtools/source/graphic/transformer.cxx +++ b/svtools/source/graphic/transformer.cxx @@ -145,7 +145,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL GraphicTransformer::applyDuotone( AlphaMask aMask( aBitmapEx.GetAlpha() ); Bitmap aBitmap( aBitmapEx.GetBitmap() ); BmpFilterParam aFilter( (sal_uLong) nColorOne, (sal_uLong) nColorTwo ); - aBitmap.Filter( BMP_FILTER_DUOTONE, &aFilter ); + aBitmap.Filter( BmpFilter::DuoTone, &aFilter ); aGraphic = ::Graphic( BitmapEx( aBitmap, aMask ) ); ::unographic::Graphic* pUnoGraphic = new ::unographic::Graphic(); |