diff --git a/include/tools/rcid.h b/include/tools/rcid.h index 96859d12eb84..4a9951ecd11f 100644 --- a/include/tools/rcid.h +++ b/include/tools/rcid.h @@ -45,8 +45,6 @@ #define RSC_WINDOW (RSC_NOTYPE + 0x35) -#define RSC_CONTROL (RSC_NOTYPE + 0x44) - #define RSC_STRINGARRAY (RSC_NOTYPE + 0x79) // (RSC_NOTYPE + 0x200) - (RSC_NOTYPE + 0x300) reserved for Sfx diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 87036e4caf27..cc7bbaf0546a 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -174,7 +174,6 @@ class RscTypCont RscTop * InitClassImageList( RscTop * pSuper, RscCont * pStrLst ); RscTop * InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, RscArray * pLangGeo ); - RscTop * InitClassControl( RscTop * pSuper ); RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ); RscTop * InitClassMenuItem( RscTop * pSuper ); RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 0d3aa6509188..3adc7122213c 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -245,23 +245,6 @@ RscTop * RscTypCont::InitClassWindow( RscTop * pSuper, RscEnum * pMapUnit, return pClassWindow; } -RscTop * RscTypCont::InitClassControl( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassControl; - - // initialize class - nId = pHS->getID( "Control" ); - pClassControl = new RscClass( nId, RSC_CONTROL, pSuper ); - pClassControl->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassControl ); - - InsWinBit( pClassControl, "TabStop", nTabstopId ); - INS_WINBIT(pClassControl,Group) - - return pClassControl; -} - RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 066fad44d94b..e7663c8e4016 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -62,7 +62,6 @@ void RscTypCont::Init() RscTop * pClassImage; RscTop * pClassImageList; RscTop * pClassWindow; - RscTop * pClassControl; RscTop * pClassKeyCode; Atom nId; @@ -282,10 +281,6 @@ void RscTypCont::Init() pLangGeometry ); pRoot->Insert( pClassWindow ); } -{ - pClassControl = InitClassControl( pClassWindow ); - pRoot->Insert( pClassControl ); -} { pClassKeyCode = InitClassKeyCode( pClassMgr, pKey ); pRoot->Insert( pClassKeyCode );