summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-26 16:29:46 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-26 16:30:54 +0300
commite06014e0db64ec36ec41dee542d2453c945fddd3 (patch)
tree94d219ceba4c0195bf7b7f81395d7e3cc4cbf03a /svtools
parentc03f7f2b427f7fe2b94dfb55ea64670426d1a957 (diff)
bnc#719994: We need the proper alpha mask
Change-Id: Ic16dceaca431929238fcef6be31ee95e068b91e4
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/transformer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/transformer.cxx b/svtools/source/graphic/transformer.cxx
index 945d78bd5e83..06c259558d65 100644
--- a/svtools/source/graphic/transformer.cxx
+++ b/svtools/source/graphic/transformer.cxx
@@ -147,7 +147,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL GraphicTransformer::applyDuotone(
::Graphic aGraphic( *::unographic::Graphic::getImplementation( xIFace ) );
BitmapEx aBitmapEx( aGraphic.GetBitmapEx() );
- Bitmap aMask( aBitmapEx.GetMask() );
+ AlphaMask aMask( aBitmapEx.GetAlpha() );
Bitmap aBitmap( aBitmapEx.GetBitmap() );
BmpFilterParam aFilter( (sal_uLong) nColorOne, (sal_uLong) nColorTwo );
aBitmap.Filter( BMP_FILTER_DUOTONE, &aFilter );