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

Infoboxen are no longer loaded from resource files

Change-Id: If387291e9e145ee36338b1e560f18889c3b62674
üst d4a615bf
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#define RSC_IMAGELIST (RSC_NOTYPE + 0x24) #define RSC_IMAGELIST (RSC_NOTYPE + 0x24)
#define RSC_MESSBOX (RSC_NOTYPE + 0x30) #define RSC_MESSBOX (RSC_NOTYPE + 0x30)
#define RSC_INFOBOX (RSC_NOTYPE + 0x31)
#define RSC_WARNINGBOX (RSC_NOTYPE + 0x32) #define RSC_WARNINGBOX (RSC_NOTYPE + 0x32)
#define RSC_QUERYBOX (RSC_NOTYPE + 0x34) #define RSC_QUERYBOX (RSC_NOTYPE + 0x34)
......
...@@ -77,7 +77,6 @@ private: ...@@ -77,7 +77,6 @@ private:
public: public:
InfoBox( Window* pParent, const OUString& rMessage ); InfoBox( Window* pParent, const OUString& rMessage );
InfoBox( Window* pParent, const ResId & rResId );
InfoBox( Window* pParent, WinBits nStyle, InfoBox( Window* pParent, WinBits nStyle,
const OUString& rMessage ); const OUString& rMessage );
......
...@@ -94,7 +94,6 @@ void RscTypCont::Init() ...@@ -94,7 +94,6 @@ void RscTypCont::Init()
RscTop * pClassMenuItem; RscTop * pClassMenuItem;
RscTop * pClassMenu; RscTop * pClassMenu;
RscTop * pClassMessBox; RscTop * pClassMessBox;
RscTop * pClassInfoBox;
RscTop * pClassWarningBox; RscTop * pClassWarningBox;
RscTop * pClassQueryBox; RscTop * pClassQueryBox;
RscTop * pClassSplitter; RscTop * pClassSplitter;
...@@ -471,13 +470,6 @@ void RscTypCont::Init() ...@@ -471,13 +470,6 @@ void RscTypCont::Init()
pMessDefButton ); pMessDefButton );
pRoot->Insert( pClassMessBox ); pRoot->Insert( pClassMessBox );
// Klasse anlegen
nId = pHS->getID( "InfoBox" );
pClassInfoBox = new RscClass( nId, RSC_INFOBOX, pClassMessBox );
pClassInfoBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
aNmTb.Put( nId, CLASSNAME, pClassInfoBox );
pRoot->Insert( pClassInfoBox );
// Klasse anlegen // Klasse anlegen
nId = pHS->getID( "WarningBox" ); nId = pHS->getID( "WarningBox" );
pClassWarningBox = new RscClass( nId, RSC_WARNINGBOX, pClassMessBox ); pClassWarningBox = new RscClass( nId, RSC_WARNINGBOX, pClassMessBox );
......
...@@ -420,12 +420,6 @@ InfoBox::InfoBox( Window* pParent, const OUString& rMessage ) : ...@@ -420,12 +420,6 @@ InfoBox::InfoBox( Window* pParent, const OUString& rMessage ) :
ImplInitInfoBoxData(); ImplInitInfoBoxData();
} }
InfoBox::InfoBox( Window* pParent, const ResId & rResId ) :
MessBox( pParent, rResId.SetRT( RSC_INFOBOX ) )
{
ImplInitInfoBoxData();
}
InfoBox::InfoBox( Window* pParent, WinBits nStyle, const OUString& rMessage ) : InfoBox::InfoBox( Window* pParent, WinBits nStyle, const OUString& rMessage ) :
MessBox( pParent, nStyle, OUString(), rMessage ) MessBox( pParent, nStyle, OUString(), rMessage )
{ {
......
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