diff options
Diffstat (limited to 'rsc/source/parser/rscinit.cxx')
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index f1363113852e..5761dd5a27d4 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -72,7 +72,6 @@ void RscTypCont::Init() RscTop * pClassFixedImage; RscTop * pClassKeyCode; RscTop * pLangClassKeyCode; - RscTop * pClassSpinField; Atom nId; @@ -346,39 +345,6 @@ void RscTypCont::Init() (sal_uInt32)RscMenuItem::Menu ); } { - // initialize class - nId = pHS->getID( "SpinButton" ); - RscTop* pClassSpinButton = new RscClass( nId, RSC_SPINBUTTON, pClassControl ); - pClassSpinButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassSpinButton ); - { - RscClient * pClient; - - // add client variables - // Sysmodal - aBaseLst.push_back( - pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE, &aWinBits, nRepeatId ) - ); - nId = aNmTb.Put( "Repeat", VARNAME ); - pClassSpinButton->SetVariable( nId, pClient, nullptr, - VAR_NODATAINST, 0, nWinBitVarId ); - } - pRoot->Insert( pClassSpinButton ); -} -{ - pClassSpinField = InitClassSpinField( pClassEdit ); - pRoot->Insert( pClassSpinField ); -} -{ - { // hand-made multiple inheritance - RscTop* pClassTmp = InitClassNumericFormatter( pClassSpinField ); - aBaseLst.push_back( pClassTmp ); - - RscTop* pClassNumericField = InitClassNumericField( pClassTmp ); - pRoot->Insert( pClassNumericField ); - } -} -{ RscTop* pClassDockingWindow = InitClassDockingWindow( pClassWindow, pMapUnit ); pRoot->Insert( pClassDockingWindow ); |