summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblescrollbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/standard/vclxaccessiblescrollbar.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblescrollbar.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
index 3c772b4fe6fc..44faa7ed8ba9 100644
--- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx
+++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx
@@ -138,7 +138,7 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw
if ( nIndex < 0 || nIndex >= getAccessibleActionCount() )
throw IndexOutOfBoundsException();
- sal_Bool bReturn = sal_False;
+ bool bReturn = false;
ScrollBar* pScrollBar = static_cast< ScrollBar* >( GetWindow() );
if ( pScrollBar )
{
@@ -152,7 +152,7 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw
default: eScrollType = SCROLL_DONTKNOW; break;
}
if ( pScrollBar->DoScrollAction( eScrollType ) )
- bReturn = sal_True;
+ bReturn = true;
}
return bReturn;
@@ -216,7 +216,7 @@ sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (R
{
OExternalLockGuard aGuard( this );
- sal_Bool bReturn = sal_False;
+ bool bReturn = false;
VCLXScrollBar* pVCLXScrollBar = static_cast< VCLXScrollBar* >( GetVCLXWindow() );
if ( pVCLXScrollBar )
@@ -232,7 +232,7 @@ sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (R
nValue = nValueMax;
pVCLXScrollBar->setValue( nValue );
- bReturn = sal_True;
+ bReturn = true;
}
return bReturn;