[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - svtools/source
Tor Lillqvist
tml at collabora.com
Tue Aug 26 07:18:32 PDT 2014
svtools/source/graphic/transformer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 150d3ae7f9d1d801e0a05e555781eba5a13d9eff
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Aug 26 16:29:46 2014 +0300
bnc#719994: We need the proper alpha mask
Change-Id: Ic16dceaca431929238fcef6be31ee95e068b91e4
(cherry picked from commit e06014e0db64ec36ec41dee542d2453c945fddd3)
Reviewed-on: https://gerrit.libreoffice.org/11128
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/graphic/transformer.cxx b/svtools/source/graphic/transformer.cxx
index bf63621..68f5fc2 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 );
More information about the Libreoffice-commits
mailing list