summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-25 10:36:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-25 16:17:06 +0100
commit3afc276001625a613af750de755f3baa4fae3d42 (patch)
treebe04518952327aa745573c9a549f5a88596b3ab9 /vcl
parentbb27014e100affb39f34823e110379bc9611e835 (diff)
DBG_OUT_WARNING is unused
...and thus DgbData::nWarningOut is unused, too. Change-Id: I388d2be7dafbfdc173a731dc7daf1c8b5efcd61d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/dbggui.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index cd1e54e954c9..f8cee634566b 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -388,8 +388,6 @@ private:
Edit maExclFilter;
FixedText maTraceText;
ListBox maTraceBox;
- FixedText maWarningText;
- ListBox maWarningBox;
FixedText maErrorText;
ListBox maErrorBox;
CheckBox maHookOSLBox;
@@ -574,8 +572,6 @@ DbgDialog::DbgDialog() :
maExclFilter( this ),
maTraceText( this ),
maTraceBox( this, WB_DROPDOWN ),
- maWarningText( this ),
- maWarningBox( this, WB_DROPDOWN ),
maErrorText( this ),
maErrorBox( this, WB_DROPDOWN ),
maHookOSLBox( this ),
@@ -795,29 +791,6 @@ DbgDialog::DbgDialog() :
}
{
- maWarningText.Show();
- maWarningText.SetText("~Warning");
- maWarningText.SetPosSizePixel( LogicToPixel( Point( 115, 210 ), aAppMap ),
- LogicToPixel( Size( 95, 9 ), aAppMap ) );
- }
-
- {
- maWarningBox.InsertEntry(OUString("None"));
- maWarningBox.InsertEntry(OUString("File"));
- maWarningBox.InsertEntry(OUString("Window"));
- maWarningBox.InsertEntry(OUString("Shell"));
- maWarningBox.InsertEntry(OUString("MessageBox"));
- maWarningBox.InsertEntry(OUString("TestTool"));
- maWarningBox.InsertEntry(OUString("Debugger"));
- maWarningBox.InsertEntry(OUString("Abort"));
- ImplAppendUserDefinedChannels( maWarningBox );
- ImplSelectChannel( maWarningBox, pData->nWarningOut, 0 );
- maWarningBox.Show();
- maWarningBox.SetPosSizePixel( LogicToPixel( Point( 115, 220 ), aAppMap ),
- LogicToPixel( Size( 95, 80 ), aAppMap ) );
- }
-
- {
maErrorText.Show();
maErrorText.SetText("~Error");
maErrorText.SetPosSizePixel( LogicToPixel( Point( 220, 210 ), aAppMap ),
@@ -893,7 +866,6 @@ IMPL_LINK( DbgDialog, ClickHdl, Button*, pButton )
aData.nTestFlags = 0;
aData.nTraceOut = ImplGetChannelId( maTraceBox, 0 );
- aData.nWarningOut = ImplGetChannelId( maWarningBox, 0 );
aData.nErrorOut = ImplGetChannelId( maErrorBox, mnErrorOff );
strncpy( aData.aDebugName, OUStringToOString(maDebugName.GetText(), RTL_TEXTENCODING_UTF8).getStr(), sizeof( aData.aDebugName ) );
@@ -942,7 +914,6 @@ IMPL_LINK( DbgDialog, ClickHdl, Button*, pButton )
// Umschalten der Laufzeitwerte
DBG_INSTOUTTRACE( aData.nTraceOut );
- DBG_INSTOUTWARNING( aData.nWarningOut );
DBG_INSTOUTERROR( aData.nErrorOut );
DbgUpdateOslHook( &aData );