diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 14:32:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 15:09:22 +0100 |
commit | 6e57881e9908f6263069f3b3a585bc404799b9a4 (patch) | |
tree | 59800b58cc5a7b453ec00c5e57baae06b5e46aa2 /vcl | |
parent | fe5e9610df64709cf505c0b5dc74aef2f55c1b77 (diff) |
I can't see any evidence of any remaining magenta mask using image resources
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/image/Image.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx index de1774efed29..2aab6a890f28 100644 --- a/vcl/source/image/Image.cxx +++ b/vcl/source/image/Image.cxx @@ -65,16 +65,6 @@ Image::Image( const ResId& rResId ) : pResMgr->Increment( ResMgr::GetObjSize( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()) ) ); } - if( nObjMask & RscImageFlags::MaskColor ) - { - if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TransparentType::NONE ) - { - const Color aMaskColor( ResId( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()), *pResMgr ) ); - aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskColor ); - } - - pResMgr->Increment( ResMgr::GetObjSize( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()) ) ); - } if( ! aBmpEx.IsEmpty() ) ImplInit( aBmpEx ); } |