summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-02 18:49:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-02 18:49:31 +0200
commitc95ff75df274e3d84458e928ee96870bc8b663b3 (patch)
tree77a014b735aa81741957201edbf1e91b404bf9e8
parentMake configmgr loplugin:salbool-clean (diff)
downloadcore-c95ff75df274e3d84458e928ee96870bc8b663b3.tar.gz
core-c95ff75df274e3d84458e928ee96870bc8b663b3.zip
comphelper: sal_Bool -> bool
Change-Id: Icde90101b6adfa766c8abbeb55c518725e6596e1
-rw-r--r--comphelper/source/misc/accessibleselectionhelper.cxx8
-rw-r--r--comphelper/source/misc/accimplaccess.cxx2
-rw-r--r--include/comphelper/accessibleselectionhelper.hxx2
-rw-r--r--include/comphelper/accimplaccess.hxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx
index 35c6622a75a8..814faa1df682 100644
--- a/comphelper/source/misc/accessibleselectionhelper.cxx
+++ b/comphelper/source/misc/accessibleselectionhelper.cxx
@@ -42,7 +42,7 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
- implSelect( nChildIndex, sal_True );
+ implSelect( nChildIndex, true );
}
@@ -54,13 +54,13 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::clearAccessibleSelection( ) throw (RuntimeException)
{
- implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_False );
+ implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, false );
}
void SAL_CALL OCommonAccessibleSelection::selectAllAccessibleChildren( ) throw (RuntimeException)
{
- implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, sal_True );
+ implSelect( ACCESSIBLE_SELECTION_CHILD_ALL, true );
}
@@ -102,7 +102,7 @@ namespace comphelper
void SAL_CALL OCommonAccessibleSelection::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
{
- implSelect( nSelectedChildIndex, sal_False );
+ implSelect( nSelectedChildIndex, false );
}
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 6cf56370a006..96f255dadb01 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -84,7 +84,7 @@ namespace comphelper
}
- void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const sal_Bool _bSet )
+ void OAccessibleImplementationAccess::setStateBit( const sal_Int16 _nState, const 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)!" );
diff --git a/include/comphelper/accessibleselectionhelper.hxx b/include/comphelper/accessibleselectionhelper.hxx
index dbc4c20270ea..4bb64a9d0ed3 100644
--- a/include/comphelper/accessibleselectionhelper.hxx
+++ b/include/comphelper/accessibleselectionhelper.hxx
@@ -62,7 +62,7 @@ namespace comphelper
// select the specified child => watch for special ChildIndexes (ACCESSIBLE_SELECTION_CHILD_xxx)
virtual void
- implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ implSelect( sal_Int32 nAccessibleChildIndex, bool bSelect )
throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) = 0;
protected:
diff --git a/include/comphelper/accimplaccess.hxx b/include/comphelper/accimplaccess.hxx
index f416e14e8826..2c6f15979221 100644
--- a/include/comphelper/accimplaccess.hxx
+++ b/include/comphelper/accimplaccess.hxx
@@ -85,7 +85,7 @@ namespace comphelper
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& _rxAccParent );
/// sets or resets a bit of the foreign controlled states
- void setStateBit( const sal_Int16 _nState, const sal_Bool _bSet );
+ void setStateBit( const sal_Int16 _nState, const bool _bSet );
protected:
OAccessibleImplementationAccess( );