diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 12:48:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 13:29:39 +0100 |
commit | 04ba40c749fe01e226d30dc5d075e510d70bf48b (patch) | |
tree | 4a50e7ee58de56f320426c5cd71011051f06e85d /vcl | |
parent | 4dfa3161896a0e045da3b5cf656ebd8f40044a46 (diff) |
ImageList just reads and discards the MaskColor, so drop it
Change-Id: I243e739fea28e3f38b91534182cc54c2aa660f0e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/image/ImageList.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/image/ImageList.cxx b/vcl/source/image/ImageList.cxx index dfbf7518db29..629e123519f8 100644 --- a/vcl/source/image/ImageList.cxx +++ b/vcl/source/image/ImageList.cxx @@ -57,10 +57,6 @@ ImageList::ImageList( const ResId& rResId ) : RscImageListFlags nObjMask = (RscImageListFlags)pResMgr->ReadLong(); pResMgr->ReadString(); //skip string - std::unique_ptr< Color > xMaskColor; - - if( nObjMask & RscImageListFlags::MaskColor ) - xMaskColor.reset( new Color( ResId( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()), *pResMgr ) ) ); pResMgr->Increment( ResMgr::GetObjSize( static_cast<RSHEADER_TYPE*>(pResMgr->GetClass()) ) ); |