summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-27 09:16:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-27 09:58:35 +0100
commitf00cd93a66a6cf236114e810b1470e562315b777 (patch)
tree7edff4a18f651eb90b000a661d25883410f784bd /rsc/source
parent93be66f98f3180cbbe358bb5b38f64852a0d30fc (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 'rsc/source')
-rw-r--r--rsc/source/parser/rscicpx.cxx19
-rw-r--r--rsc/source/parser/rscinit.cxx6
2 files changed, 0 insertions, 25 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 9a54719667aa..c808488817bc 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -811,25 +811,6 @@ RscTop * RscTypCont::InitClassRadioButton( RscTop * pSuper )
return pClassRadioButton;
}
-RscTop * RscTypCont::InitClassImageRadioButton( RscTop * pSuper, RscTop * pClassImage )
-{
- Atom nId;
- RscTop * pClassImageRadioButton;
-
- // Klasse anlegen
- nId = pHS->getID( "ImageRadioButton" );
- pClassImageRadioButton = new RscClass( nId, RSC_IMAGERADIOBUTTON, pSuper );
- pClassImageRadioButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassImageRadioButton );
-
- // Variablen anlegen
- INS_WINBIT(pClassImageRadioButton,TopImage)
- nId = aNmTb.Put( "RadioButtonImage", VARNAME );
- pClassImageRadioButton->SetVariable( nId, pClassImage, 0, 0, RSC_IMAGERADIOBUTTON_IMAGE );
-
- return pClassImageRadioButton;
-}
-
RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
{
Atom nId;
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 80a95dbb0f9f..015a882283bd 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -83,7 +83,6 @@ void RscTypCont::Init()
RscTop * pClassCancelButton;
RscTop * pClassHelpButton;
RscTop * pClassRadioButton;
- RscTop * pClassImageRadioButton;
RscTop * pClassImageButton;
RscTop * pClassTriStateBox;
RscTop * pClassEdit;
@@ -446,11 +445,6 @@ void RscTypCont::Init()
pClassRadioButton = InitClassRadioButton( pClassButton );
pRoot->Insert( pClassRadioButton );
- nId = pHS->getID( "ImageRadioButton" );
- pClassImageRadioButton = InitClassImageRadioButton( pClassRadioButton,
- pClassImage );
- pRoot->Insert( pClassImageRadioButton );
-
pClassTriStateBox = InitClassTriStateBox( pClassControl, pTriState );
pRoot->Insert( pClassTriStateBox );