summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/rcid.h1
-rw-r--r--include/vcl/dialog.hxx1
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx16
-rw-r--r--rsc/source/parser/rscinit.cxx5
-rw-r--r--tools/source/rc/resmgr.cxx2
-rw-r--r--vcl/source/window/dialog.cxx7
7 files changed, 0 insertions, 33 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index 04ae92466e92..aecaef4e59d0 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -54,7 +54,6 @@
#define RSC_FLOATINGWINDOW (RSC_NOTYPE + 0x39)
#define RSC_DIALOG (RSC_NOTYPE + 0x3a)
-#define RSC_MODALDIALOG (RSC_NOTYPE + 0x3c)
#define RSC_CONTROL (RSC_NOTYPE + 0x44)
#define RSC_BUTTON (RSC_NOTYPE + 0x45)
#define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46)
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 2b653f855d88..3e191da5d373 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -161,7 +161,6 @@ class VCL_DLLPUBLIC ModalDialog : public Dialog
public:
explicit ModalDialog( Window* pParent, WinBits nStyle = WB_STDMODAL );
explicit ModalDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription );
- explicit ModalDialog( Window* pParent, const ResId& rResId );
protected:
using Window::Show;
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 );
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 13f84231e2a5..73194cfc7d01 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -1461,7 +1461,6 @@ OString ResMgr::GetAutoHelpId()
case RSC_DOCKINGWINDOW: aHID.append( "DockingWindow" ); break;
case RSC_WORKWIN: aHID.append( "WorkWindow" ); break;
case RSC_FLOATINGWINDOW: aHID.append( "FloatingWindow" ); break;
- case RSC_MODALDIALOG: aHID.append( "ModalDialog" ); break;
default: return OString();
}
}
@@ -1473,7 +1472,6 @@ OString ResMgr::GetAutoHelpId()
case RSC_DOCKINGWINDOW:
case RSC_WORKWIN:
case RSC_FLOATINGWINDOW:
- case RSC_MODALDIALOG:
// intentionally no breaks!
// auto help ids for controls
switch( pRC->pResource->GetRT() ) {
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 4909b9560c1a..cb6ae13e190c 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -1291,13 +1291,6 @@ ModalDialog::ModalDialog( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-ModalDialog::ModalDialog( Window* pParent, const ResId& rResId ) :
- Dialog( WINDOW_MODALDIALOG )
-{
- rResId.SetRT( RSC_MODALDIALOG );
- init( pParent, rResId );
-}
-
ModalDialog::ModalDialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription ) :
Dialog(pParent, rID, rUIXMLDescription, WINDOW_MODALDIALOG)
{