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 /toolkit | |
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 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 5 | ||||
-rw-r--r-- | toolkit/source/helper/unowrapper.cxx | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 662906e86ff3..5ba91b962a97 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -282,7 +282,6 @@ static ComponentInfo aComponentInfos [] = { "frame", WINDOW_GROUPBOX }, { "helpbutton", WINDOW_HELPBUTTON }, { "imagebutton", WINDOW_IMAGEBUTTON }, - { "imageradiobutton", WINDOW_IMAGERADIOBUTTON }, { "infobox", WINDOW_INFOBOX }, { "listbox", WINDOW_LISTBOX }, { "longcurrencybox", WINDOW_LONGCURRENCYBOX }, @@ -754,10 +753,6 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, pNewWindow = new ImageButton( pParent, nWinBits ); *ppNewComp = new VCLXButton; break; - case WINDOW_IMAGERADIOBUTTON: - pNewWindow = new ImageRadioButton( pParent, nWinBits ); - *ppNewComp = new VCLXButton; - break; case WINDOW_INFOBOX: pNewWindow = new InfoBox( pParent, String() ); *ppNewComp = new VCLXMessageBox; diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index d138da4898e5..c317e6fa800b 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -42,7 +42,6 @@ using namespace ::com::sun::star; { switch ( pWindow->GetType() ) { - case WINDOW_IMAGERADIOBUTTON: case WINDOW_IMAGEBUTTON: case WINDOW_SPINBUTTON: case WINDOW_MENUBUTTON: |