Kaydet (Commit) d4a615bf authored tarafından Caolán McNamara's avatar Caolán McNamara

ErrorBoxen are no longer loaded from resource files

Change-Id: I099258e449d0155154d60a839f9495236cb48cbb
üst 3ddfcd70
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#define RSC_MESSBOX (RSC_NOTYPE + 0x30) #define RSC_MESSBOX (RSC_NOTYPE + 0x30)
#define RSC_INFOBOX (RSC_NOTYPE + 0x31) #define RSC_INFOBOX (RSC_NOTYPE + 0x31)
#define RSC_WARNINGBOX (RSC_NOTYPE + 0x32) #define RSC_WARNINGBOX (RSC_NOTYPE + 0x32)
#define RSC_ERRORBOX (RSC_NOTYPE + 0x33)
#define RSC_QUERYBOX (RSC_NOTYPE + 0x34) #define RSC_QUERYBOX (RSC_NOTYPE + 0x34)
#define RSC_WINDOW (RSC_NOTYPE + 0x35) #define RSC_WINDOW (RSC_NOTYPE + 0x35)
#define RSC_SYSWINDOW (RSC_NOTYPE + 0x36) #define RSC_SYSWINDOW (RSC_NOTYPE + 0x36)
......
...@@ -107,7 +107,6 @@ private: ...@@ -107,7 +107,6 @@ private:
public: public:
ErrorBox( Window* pParent, WinBits nStyle, ErrorBox( Window* pParent, WinBits nStyle,
const OUString& rMessage ); const OUString& rMessage );
ErrorBox( Window* pParent, const ResId& rResId );
static Image GetStandardImage(); static Image GetStandardImage();
}; };
......
...@@ -96,7 +96,6 @@ void RscTypCont::Init() ...@@ -96,7 +96,6 @@ void RscTypCont::Init()
RscTop * pClassMessBox; RscTop * pClassMessBox;
RscTop * pClassInfoBox; RscTop * pClassInfoBox;
RscTop * pClassWarningBox; RscTop * pClassWarningBox;
RscTop * pClassErrorBox;
RscTop * pClassQueryBox; RscTop * pClassQueryBox;
RscTop * pClassSplitter; RscTop * pClassSplitter;
RscTop * pClassSplitWindow; RscTop * pClassSplitWindow;
...@@ -486,13 +485,6 @@ void RscTypCont::Init() ...@@ -486,13 +485,6 @@ void RscTypCont::Init()
aNmTb.Put( nId, CLASSNAME, pClassWarningBox ); aNmTb.Put( nId, CLASSNAME, pClassWarningBox );
pRoot->Insert( pClassWarningBox ); 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 // Klasse anlegen
nId = pHS->getID( "QueryBox" ); nId = pHS->getID( "QueryBox" );
pClassQueryBox = new RscClass( nId, RSC_QUERYBOX, pClassMessBox ); pClassQueryBox = new RscClass( nId, RSC_QUERYBOX, pClassMessBox );
......
...@@ -489,12 +489,6 @@ ErrorBox::ErrorBox( Window* pParent, WinBits nStyle, ...@@ -489,12 +489,6 @@ ErrorBox::ErrorBox( Window* pParent, WinBits nStyle,
ImplInitErrorBoxData(); ImplInitErrorBoxData();
} }
ErrorBox::ErrorBox( Window* pParent, const ResId& rResId ) :
MessBox( pParent, rResId.SetRT( RSC_ERRORBOX ) )
{
ImplInitErrorBoxData();
}
Image ErrorBox::GetStandardImage() Image ErrorBox::GetStandardImage()
{ {
try try
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment