diff options
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 ); |