summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/image.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-01 16:41:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-01 16:41:05 +0000
commita228c580c3107e6dae447fbae3bca544144a5c0b (patch)
tree390d854022e2983ad9fa51c65ff6e23bae88736b /vcl/source/gdi/image.cxx
parent16d7194ee73786c212e8639d41c7c31735ca930a (diff)
Resolves: fdo#61459 icons loaded from .res broken
regression since 76b3e61bb4ac66decd7800ef309f3241e77d538f Change-Id: Idfc7789b402aba0d6ab41875a9efc3b990173af0
Diffstat (limited to 'vcl/source/gdi/image.cxx')
-rw-r--r--vcl/source/gdi/image.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx
index f0f205b2d73c..9c6bbefe38e8 100644
--- a/vcl/source/gdi/image.cxx
+++ b/vcl/source/gdi/image.cxx
@@ -347,6 +347,7 @@ ImageList::ImageList( const ResId& rResId ) :
pResMgr->Increment( sizeof( RSHEADER_TYPE ) );
sal_uLong nObjMask = pResMgr->ReadLong();
+ pResMgr->ReadString(); //skip string
::boost::scoped_ptr< Color > spMaskColor;
if( nObjMask & RSC_IMAGE_MASKCOLOR )