diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-14 16:38:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-15 09:02:33 +0200 |
commit | af047fc242c51d97477c109653a98749d2af335d (patch) | |
tree | e4ce6a7cb223b08ea4fd625e6f23e42329fa70b9 /accessibility/source/standard/vclxaccessiblebutton.cxx | |
parent | be88947bac607013c6b7a3c923a2eccd09e50942 (diff) |
accessibility: sal_Bool->bool
Change-Id: Id44e7a88ba4118259c990a2c6997230586d378bb
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblebutton.cxx')
-rw-r--r-- | accessibility/source/standard/vclxaccessiblebutton.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx index 63267f9f70a7..ba057d5cddcc 100644 --- a/accessibility/source/standard/vclxaccessiblebutton.cxx +++ b/accessibility/source/standard/vclxaccessiblebutton.cxx @@ -277,7 +277,7 @@ sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (Runt { OExternalLockGuard aGuard( this ); - sal_Bool bReturn = sal_False; + bool bReturn = false; PushButton* pButton = (PushButton*) GetWindow(); if ( pButton ) @@ -290,8 +290,8 @@ sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (Runt else if ( nValue > 1 ) nValue = 1; - pButton->SetPressed( (sal_Bool) nValue ); - bReturn = sal_True; + pButton->SetPressed( nValue == 1 ); + bReturn = true; } return bReturn; |