summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-16 18:36:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-08-16 18:36:24 +0100
commit1c13f9c2b67d3a26a8cbbc11b6ae0dc1dc2d30ca (patch)
treee61983a825ac8bd5139c6149592f5c01c51ea51a /vcl
parentb0da096c610b4392277a3b7fe3c7c29d2c8c3fcf (diff)
RSC_TRISTATEBOX is no longer used
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/button.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 465e15abe4e8..60cff9b384b3 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -2984,13 +2984,10 @@ void CheckBox::ImplLoadRes( const ResId& rResId )
{
Button::ImplLoadRes( rResId );
- if ( rResId.GetRT() != RSC_TRISTATEBOX )
- {
- sal_uInt16 nChecked = ReadShortRes();
- //anderer Wert als Default ?
- if( nChecked )
- Check( true );
- }
+ sal_uInt16 nChecked = ReadShortRes();
+ //anderer Wert als Default ?
+ if( nChecked )
+ Check( true );
}
void CheckBox::ImplInvalidateOrDrawCheckBoxState()