summaryrefslogtreecommitdiff
path: root/include/vcl/button.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/button.hxx')
-rw-r--r--include/vcl/button.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 60a2aaff7249..3a4159d35392 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -202,7 +202,7 @@ private:
inline void PushButton::Check( bool bCheck )
{
- SetState( (bCheck) ? TRISTATE_TRUE : TRISTATE_FALSE );
+ SetState( bCheck ? TRISTATE_TRUE : TRISTATE_FALSE );
}
inline bool PushButton::IsChecked() const
@@ -474,7 +474,7 @@ public:
inline void CheckBox::Check( bool bCheck )
{
- SetState( (bCheck) ? TRISTATE_TRUE : TRISTATE_FALSE );
+ SetState( bCheck ? TRISTATE_TRUE : TRISTATE_FALSE );
}
inline bool CheckBox::IsChecked() const