summaryrefslogtreecommitdiff
path: root/vcl/source/image/Image.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-06 14:32:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-06 15:09:22 +0100
commit6e57881e9908f6263069f3b3a585bc404799b9a4 (patch)
tree59800b58cc5a7b453ec00c5e57baae06b5e46aa2 /vcl/source/image/Image.cxx
parentfe5e9610df64709cf505c0b5dc74aef2f55c1b77 (diff)
I can't see any evidence of any remaining magenta mask using image resources
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
Diffstat (limited to 'vcl/source/image/Image.cxx')
-rw-r--r--vcl/source/image/Image.cxx10
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 );
}