summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-25 14:21:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-25 16:45:28 +0100
commitfd345ccfafcc0deb3c2840f03f4cea839886f23c (patch)
treedce79ad4c012fda9ba9dc0cdeace91a20046ec88
parent6cf795539604a96d712ecbef579863c699419641 (diff)
queryboxes cannot be loaded from resource files anymore
Change-Id: I2ee03b2f8f34d9ecf8a762e7845410fd9a31590f
-rw-r--r--include/tools/rcid.h1
-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, 0 insertions, 16 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index 70199fc8a83b..c8a405f6e71c 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -51,7 +51,6 @@
#define RSC_WARNINGBOX (RSC_NOTYPE + 0x32)
-#define RSC_QUERYBOX (RSC_NOTYPE + 0x34)
#define RSC_WINDOW (RSC_NOTYPE + 0x35)
#define RSC_SYSWINDOW (RSC_NOTYPE + 0x36)
#define RSC_WORKWIN (RSC_NOTYPE + 0x37)
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 2684a25b5502..0bc49e812115 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -118,7 +118,6 @@ private:
public:
QueryBox( Window* pParent, WinBits nStyle,
const OUString& rMessage );
- QueryBox( Window* pParent, const ResId& rResId );
void SetDefaultCheckBoxText();
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 2016d11263f9..a399e86eda9a 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -95,7 +95,6 @@ void RscTypCont::Init()
RscTop * pClassMenu;
RscTop * pClassMessBox;
RscTop * pClassWarningBox;
- RscTop * pClassQueryBox;
RscTop * pClassSplitter;
RscTop * pClassSplitWindow;
RscTop * pClassSpinButton;
@@ -476,13 +475,6 @@ void RscTypCont::Init()
pClassWarningBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
aNmTb.Put( nId, CLASSNAME, pClassWarningBox );
pRoot->Insert( pClassWarningBox );
-
- // Klasse anlegen
- nId = pHS->getID( "QueryBox" );
- pClassQueryBox = new RscClass( nId, RSC_QUERYBOX, pClassMessBox );
- pClassQueryBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassQueryBox );
- pRoot->Insert( pClassQueryBox );
}
{
pClassSplitter = InitClassSplitter( pClassWindow );
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 666411cbaa20..d414ab04b67d 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -513,12 +513,6 @@ QueryBox::QueryBox( Window* pParent, WinBits nStyle, const OUString& rMessage )
ImplInitQueryBoxData();
}
-QueryBox::QueryBox( Window* pParent, const ResId& rResId ) :
- MessBox( pParent, rResId.SetRT( RSC_QUERYBOX ) )
-{
- ImplInitQueryBoxData();
-}
-
void QueryBox::SetDefaultCheckBoxText()
{
ResMgr* pResMgr = ImplGetResMgr();