summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-26 15:42:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-26 17:00:21 +0100
commitca68971f0af83f1db52e8e06981d30a509926541 (patch)
treebd78cd6112e9d52902243707286c3d1595ff7bc7 /rsc/source/parser
parentf1de58a6a63ae6d492ae5feb479d322f5b5b95f8 (diff)
ModalDialogs no longer loaded from resource files
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rscicpx.cxx16
-rw-r--r--rsc/source/parser/rscinit.cxx5
2 files changed, 0 insertions, 21 deletions
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 );