summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-06-18 00:00:52 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-06-18 00:01:15 +0900
commitb33ae7fc706c6f9a8130e34d5eafb0ffbf938905 (patch)
tree20bf2e0961e454f1de9e1d40acc5efe979e7075c /toolkit
parentByteString -> rtl::OString (diff)
downloadcore-b33ae7fc706c6f9a8130e34d5eafb0ffbf938905.tar.gz
core-b33ae7fc706c6f9a8130e34d5eafb0ffbf938905.zip
remove dead code
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/vcl/wbutton.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/toolkit/source/layout/vcl/wbutton.cxx b/toolkit/source/layout/vcl/wbutton.cxx
index 5e303ada03ba..96e6aeb5d251 100644
--- a/toolkit/source/layout/vcl/wbutton.cxx
+++ b/toolkit/source/layout/vcl/wbutton.cxx
@@ -276,7 +276,6 @@ public:
if ( !mxRadioButton.is() )
return;
-#if 1
// Have setState fire item event for
// RadioGroups::RadioGroup::itemStateChanged ()
::RadioButton *r = static_cast<RadioButton*>(mpWindow)->GetRadioButton ();
@@ -284,9 +283,6 @@ public:
r->EnableRadioCheck();
mxRadioButton->setState( !!bCheck );
r->EnableRadioCheck (state);
-#else
- mxRadioButton->setState( !!bCheck );
-#endif
fireToggle();
}