Kaydet (Commit) 37b18359 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "comphelper: sal_Bool -> bool"

Oops, this reverts commit c95ff75d.
üst c95ff75d
...@@ -42,7 +42,7 @@ namespace comphelper ...@@ -42,7 +42,7 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException) void SAL_CALL OCommonAccessibleSelection::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{ {
implSelect( nChildIndex, true ); implSelect( nChildIndex, sal_True );
} }
...@@ -54,13 +54,13 @@ namespace comphelper ...@@ -54,13 +54,13 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::clearAccessibleSelection( ) throw (RuntimeException) void SAL_CALL OCommonAccessibleSelection::clearAccessibleSelection( ) throw (RuntimeException)
{ {
implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, false ); implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_False );
} }
void SAL_CALL OCommonAccessibleSelection::selectAllAccessibleChildren( ) throw (RuntimeException) void SAL_CALL OCommonAccessibleSelection::selectAllAccessibleChildren( ) throw (RuntimeException)
{ {
implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, true ); implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_True );
} }
...@@ -102,7 +102,7 @@ namespace comphelper ...@@ -102,7 +102,7 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException) void SAL_CALL OCommonAccessibleSelection::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{ {
implSelect( nSelectedChildIndex, false ); implSelect( nSelectedChildIndex, sal_False );
} }
......
...@@ -84,7 +84,7 @@ namespace comphelper ...@@ -84,7 +84,7 @@ namespace comphelper
} }
void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const bool _bSet ) void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const sal_Bool _bSet )
{ {
OSL_ENSURE( _nState >= 0 && static_cast< sal_uInt16 >(_nState) < sizeof( sal_Int64 ) * 8, "OAccessibleImplementationAccess::setStateBit: no more bits (shutting down the universe now)!" ); OSL_ENSURE( _nState >= 0 && static_cast< sal_uInt16 >(_nState) < sizeof( sal_Int64 ) * 8, "OAccessibleImplementationAccess::setStateBit: no more bits (shutting down the universe now)!" );
......
...@@ -62,7 +62,7 @@ namespace comphelper ...@@ -62,7 +62,7 @@ namespace comphelper
// select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx) // select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
virtual void virtual void
implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect ) implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0; throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0;
protected: protected:
......
...@@ -85,7 +85,7 @@ namespace comphelper ...@@ -85,7 +85,7 @@ namespace comphelper
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxAccParent ); const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxAccParent );
/// sets or resets a bit of the foreign controlled states /// sets or resets a bit of the foreign controlled states
void setStateBit( const sal_Int16 _nState, const bool _bSet ); void setStateBit( const sal_Int16 _nState, const sal_Bool _bSet );
protected: protected:
OAccessibleImplementationAccess( ); OAccessibleImplementationAccess( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment