diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 09:29:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-13 11:18:36 +0000 |
commit | d40971a47838afd007b8563d16bc8176b7f43176 (patch) | |
tree | 3752aab7d3653d6063dc75c76dad4f8f5d0c4aa0 /rsc | |
parent | callcatcher: update unused code (diff) | |
download | core-d40971a47838afd007b8563d16bc8176b7f43176.tar.gz core-d40971a47838afd007b8563d16bc8176b7f43176.zip |
MoreButtons cannot be loaded from .src anymore
Change-Id: Ib831895b33323dd478cc125b3bf93c43826ef59d
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 1 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 25 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 4 |
3 files changed, 0 insertions, 30 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 545f328cb46e..4582e4c31fb2 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -238,7 +238,6 @@ class RscTypCont RscTop * InitClassToolBox( RscTop * pSuper, RscTop * pClassToolBoxItem, RscTop * pClassImageList ); RscTop * InitClassStatusBar( RscTop * pSuper ); - RscTop * InitClassMoreButton( RscTop * pSuper, RscEnum * pMapUnit ); RscTop * InitClassFloatingWindow( RscTop * pSuper, RscEnum * pMapUnit ); RscTop * InitClassTabControlItem( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index c808488817bc..071ee2e56bff 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -1899,31 +1899,6 @@ RscTop * RscTypCont::InitClassStatusBar( RscTop * pSuper ) return pClassStatusBar; } -RscTop * RscTypCont::InitClassMoreButton( RscTop * pSuper, RscEnum * pMapUnit ) -{ - Atom nId; - RscTop * pClassMoreButton; - - // Klasse anlegen - nId = pHS->getID( "MoreButton" ); - pClassMoreButton = new RscClass( nId, RSC_MOREBUTTON, pSuper ); - pClassMoreButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassMoreButton ); - - // Variablen anlegen - nId = aNmTb.Put( "State", VARNAME ); - pClassMoreButton->SetVariable( nId, &aBool, NULL, 0, - RSC_MOREBUTTON_STATE ); - nId = aNmTb.Put( "MapUnit", VARNAME ); - pClassMoreButton->SetVariable( nId, pMapUnit, NULL, 0, - RSC_MOREBUTTON_MAPUNIT ); - nId = aNmTb.Put( "Delta", VARNAME ); - pClassMoreButton->SetVariable( nId, &aUShort, NULL, 0, - RSC_MOREBUTTON_DELTA ); - - return pClassMoreButton; -} - RscTop * RscTypCont::InitClassFloatingWindow( RscTop * pSuper, RscEnum * pMapUnit ) { diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 015a882283bd..4c00845679c4 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -131,7 +131,6 @@ void RscTypCont::Init() RscTop * pClassToolBoxItem; RscTop * pClassToolBox; RscTop * pClassStatusBar; - RscTop * pClassMoreButton; RscTop * pClassFloatingWindow; RscTop * pClassTabPage; RscTop * pClassTabDialog; @@ -711,9 +710,6 @@ void RscTypCont::Init() pClassStatusBar = InitClassStatusBar( pClassWindow ); pRoot->Insert( pClassStatusBar ); - pClassMoreButton = InitClassMoreButton( pClassPushButton, pMapUnit ); - pRoot->Insert( pClassMoreButton ); - pClassFloatingWindow = InitClassFloatingWindow( pClassSystemWindow, pMapUnit ); pRoot->Insert( pClassFloatingWindow ); |