summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/rcid.h2
-rw-r--r--include/vcl/msgbox.hxx1
-rw-r--r--rsc/source/parser/rscinit.cxx8
-rw-r--r--vcl/source/window/msgbox.cxx6
4 files changed, 1 insertions, 16 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index f1edf65adef7..e0d12f626b7e 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -50,7 +50,7 @@
#define RSC_MESSBOX (RSC_NOTYPE + 0x30)
#define RSC_INFOBOX (RSC_NOTYPE + 0x31)
#define RSC_WARNINGBOX (RSC_NOTYPE + 0x32)
-#define RSC_ERRORBOX (RSC_NOTYPE + 0x33)
+
#define RSC_QUERYBOX (RSC_NOTYPE + 0x34)
#define RSC_WINDOW (RSC_NOTYPE + 0x35)
#define RSC_SYSWINDOW (RSC_NOTYPE + 0x36)
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index bc5f7b20e695..b97edb0854d6 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -107,7 +107,6 @@ private:
public:
ErrorBox( Window* pParent, WinBits nStyle,
const OUString& rMessage );
- ErrorBox( Window* pParent, const ResId& rResId );
static Image GetStandardImage();
};
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 58595885f144..1b5702f20aa4 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -96,7 +96,6 @@ void RscTypCont::Init()
RscTop * pClassMessBox;
RscTop * pClassInfoBox;
RscTop * pClassWarningBox;
- RscTop * pClassErrorBox;
RscTop * pClassQueryBox;
RscTop * pClassSplitter;
RscTop * pClassSplitWindow;
@@ -487,13 +486,6 @@ void RscTypCont::Init()
pRoot->Insert( pClassWarningBox );
// Klasse anlegen
- nId = pHS->getID( "ErrorBox" );
- pClassErrorBox = new RscClass( nId, RSC_ERRORBOX, pClassMessBox );
- pClassErrorBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassErrorBox );
- pRoot->Insert( pClassErrorBox );
-
- // Klasse anlegen
nId = pHS->getID( "QueryBox" );
pClassQueryBox = new RscClass( nId, RSC_QUERYBOX, pClassMessBox );
pClassQueryBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 7a3c597c40a0..ff2880d106c3 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -489,12 +489,6 @@ ErrorBox::ErrorBox( Window* pParent, WinBits nStyle,
ImplInitErrorBoxData();
}
-ErrorBox::ErrorBox( Window* pParent, const ResId& rResId ) :
- MessBox( pParent, rResId.SetRT( RSC_ERRORBOX ) )
-{
- ImplInitErrorBoxData();
-}
-
Image ErrorBox::GetStandardImage()
{
try