diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-30 14:35:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-30 16:33:32 +0000 |
commit | 21f934a7c54e6a62aac046b99e05bbcf394c4de4 (patch) | |
tree | 361155efd0a4dc4fc99553080595db1a69c41c0b /rsc/source | |
parent | 3ff74ff16b43cccf86cfd56c1f6b7ce30ce0b65d (diff) |
ImageLists no longer loaded from resource files
Change-Id: I5bf1c75dce7bc9af6aaa92447fab7239dff4b676
Diffstat (limited to 'rsc/source')
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 30 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 4 |
2 files changed, 0 insertions, 34 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 05a692043d14..0a7e476cb55e 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -115,36 +115,6 @@ RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap ) return pClassImage; } -RscTop * RscTypCont::InitClassImageList( RscTop * pSuper, RscCont * pStrLst ) -{ - Atom nId; - RscTop * pClassImageList; - - // initialize class - nId = pHS->getID( "ImageList" ); - pClassImageList = new RscClass( nId, RSC_IMAGELIST, pSuper ); - pClassImageList->SetCallPar( *pStdPar1, *pStdPar2, *pStdParType ); - aNmTb.Put( nId, CLASSNAME, pClassImageList ); - - nId = aNmTb.Put( "Prefix", VARNAME ); - pClassImageList->SetVariable( nId, &aString ); - - RscCont * pCont = new RscCont( pHS->getID( "sal_uInt16 *" ), RSC_NOTYPE ); - pCont->SetTypeClass( &aIdUShort ); - aBaseLst.push_back( pCont ); - nId = aNmTb.Put( "IdList", VARNAME ); - pClassImageList->SetVariable( nId, pCont, nullptr, RSCVAR::NONE, - (sal_uInt32)RscImageListFlags::IdList ); - - nId = aNmTb.Put( "FileList", VARNAME ); - pClassImageList->SetVariable( nId, pStrLst ); - - nId = aNmTb.Put( "IdCount", VARNAME ); - pClassImageList->SetVariable( nId, &aUShort, nullptr, RSCVAR::NONE, - (sal_uInt32)RscImageListFlags::IdCount ); - return pClassImageList; -} - RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 18b96a80fa0b..60ade77c2e1f 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -50,7 +50,6 @@ void RscTypCont::Init() RscTop * pClassStringArray; RscTop * pClassBitmap; RscTop * pClassImage; - RscTop * pClassImageList; RscTop * pClassKeyCode; Atom nId; @@ -121,9 +120,6 @@ void RscTypCont::Init() { pClassImage = InitClassImage( pClassMgr, pClassBitmap ); pRoot->Insert( pClassImage ); - - pClassImageList = InitClassImageList( pClassMgr, pStringLongTupelList ); - pRoot->Insert( pClassImageList ); } { pClassKeyCode = InitClassKeyCode( pClassMgr, pKey ); |