Kaydet (Commit) ed9f0e3b authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Meeks

fix "vcl: move Bitmap::MakeMonochrome() to BitmapMonochromeFilter"

commit 1f6af5c4
"vcl: move Bitmap::MakeMonochrome() to BitmapMonochromeFilter"
seems to have dropped a line of code which means the filtering
doesn't actually have an effect.

Change-Id: If46c15bd9ab9d4e3911bdb9baf3091889b1f634d
Reviewed-on: https://gerrit.libreoffice.org/55071Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst fd52a23e
......@@ -724,6 +724,7 @@ namespace vclcanvas
BitmapEx aMaskEx(aMask);
BitmapFilter::Filter(aMaskEx, BitmapMonochromeFilter(253));
aMask = aMaskEx.GetBitmap();
aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMask );
}
else if( aBmpEx.IsTransparent() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment