diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-26 15:42:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-26 17:00:21 +0100 |
commit | ca68971f0af83f1db52e8e06981d30a509926541 (patch) | |
tree | bd78cd6112e9d52902243707286c3d1595ff7bc7 /rsc | |
parent | f1de58a6a63ae6d492ae5feb479d322f5b5b95f8 (diff) |
ModalDialogs no longer loaded from resource files
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscdb.hxx | 1 | ||||
-rw-r--r-- | rsc/source/parser/rscicpx.cxx | 16 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 5 |
3 files changed, 0 insertions, 22 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index f5dac31ea93d..456c82d92d9c 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -170,7 +170,6 @@ class RscTypCont RscArray * pLangGeo ); RscTop * InitClassSystemWindow( RscTop * pSuper ); RscTop * InitClassWorkWindow( RscTop * pSuper ); - RscTop * InitClassModalDialog( RscTop * pSuper ); RscTop * InitClassControl( RscTop * pSuper ); RscTop * InitClassCheckBox( RscTop * pSuper ); RscTop * InitClassPushButton( RscTop * pSuper ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 25dec34cbf4f..8b79d824f471 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -357,22 +357,6 @@ RscTop * RscTypCont::InitClassWorkWindow( RscTop * pSuper ) return pClassWorkWindow; } -RscTop * RscTypCont::InitClassModalDialog( RscTop * pSuper ) -{ - Atom nId; - RscTop * pClassDialog; - - // Klasse anlegen - nId = pHS->getID( "ModalDialog" ); - pClassDialog = new RscClass( nId, RSC_MODALDIALOG, pSuper ); - pClassDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassDialog ); - - InsWinBit( pClassDialog, "SysModal", nSysmodalId ); - - return pClassDialog; -} - RscTop * RscTypCont::InitClassControl( RscTop * pSuper ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 22c79ae0e97e..e5cd051f6a45 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -70,7 +70,6 @@ void RscTypCont::Init() RscTop * pClassSystemWindow; RscTop * pClassWorkWindow; RscTop * pClassDialog; - RscTop * pClassModalDialog; RscTop * pClassControl; RscTop * pClassButton; RscTop * pClassCheckBox; @@ -355,10 +354,6 @@ void RscTypCont::Init() RSC_DIALOG, pClassSystemWindow ); pClassDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); aBaseLst.push_back( pClassDialog ); - - // Klasse anlegen - pClassModalDialog = InitClassModalDialog( pClassDialog ); - pRoot->Insert( pClassModalDialog ); } { pClassControl = InitClassControl( pClassWindow ); |