diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:16:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:58:35 +0100 |
commit | f00cd93a66a6cf236114e810b1470e562315b777 (patch) | |
tree | 7edff4a18f651eb90b000a661d25883410f784bd /vcl/source/app | |
parent | 93be66f98f3180cbbe358bb5b38f64852a0d30fc (diff) |
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
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
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()) ) { |