From f00cd93a66a6cf236114e810b1470e562315b777 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 27 Aug 2013 09:16:59 +0100 Subject: callcatcher: update unused code, esp unused Resource based ctor e.g. no ImageRadioButton is now loaded from any res/rsc file, so that ctor and associated code paths can be stripped out Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7 --- vcl/source/app/dbggui.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'vcl/source/app') diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index a882bb762db2..6833a95cd7d7 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -1271,7 +1271,6 @@ void DbgDialogTest( Window* pWindow ) } if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_PUSHBUTTON) ) @@ -1281,8 +1280,6 @@ void DbgDialogTest( Window* pWindow ) const char* pClass; if ( pChild->GetType() == WINDOW_RADIOBUTTON ) pClass = "RadioButton"; - else if ( pChild->GetType() == WINDOW_IMAGERADIOBUTTON ) - pClass = "ImageRadioButton"; else if ( pChild->GetType() == WINDOW_CHECKBOX ) pClass = "CheckBox"; else if ( pChild->GetType() == WINDOW_TRISTATEBOX ) @@ -1302,7 +1299,6 @@ void DbgDialogTest( Window* pWindow ) switch( pChild->GetType() ) { case WINDOW_RADIOBUTTON: - case WINDOW_IMAGERADIOBUTTON: aWidth = ((RadioButton*)pChild)->CalcMinimumSize(0).Width(); break; case WINDOW_CHECKBOX: @@ -1405,7 +1401,6 @@ void DbgDialogTest( Window* pWindow ) " WB_IGNORETAB")); if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_FIXEDTEXT) ) @@ -1484,7 +1479,6 @@ void DbgDialogTest( Window* pWindow ) } if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_PUSHBUTTON) || @@ -1516,8 +1510,7 @@ void DbgDialogTest( Window* pWindow ) Rectangle aChildRect( aNewPos, pChild->GetSizePixel() ); if ( cAccel || (pChild->GetStyle() & WB_TABSTOP) || - (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) ) + (pChild->GetType() == WINDOW_RADIOBUTTON) ) { if ( (aNewPos.X() <= aTabPos.X()) && (aNewPos.Y() <= aTabPos.Y()) ) { -- cgit