diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-03 11:46:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:13 +0200 |
commit | 050d7fc852f1539f16a358c03e4e8ffb57891c4d (patch) | |
tree | 1e408d0ed742ea26a7f21e7ebea26f58b9c359d8 /editeng | |
parent | 7ad8e33c0f00af96ae5ee35fb360901803c3863b (diff) |
editeng: sal_Bool->bool
Change-Id: I7a7b5e9ae1762cace1f87b379b32398b231745fd
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleContextBase.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index 5a90b6f7dba6..0fb932c24e08 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -94,7 +94,7 @@ AccessibleContextBase::~AccessibleContextBase(void) -sal_Bool AccessibleContextBase::SetState (sal_Int16 aState) +bool AccessibleContextBase::SetState (sal_Int16 aState) { ::osl::ClearableMutexGuard aGuard (maMutex); ::utl::AccessibleStateSetHelper* pStateSet = @@ -116,16 +116,16 @@ sal_Bool AccessibleContextBase::SetState (sal_Int16 aState) aNewValue, uno::Any()); } - return sal_True; + return true; } else - return sal_False; + return false; } -sal_Bool AccessibleContextBase::ResetState (sal_Int16 aState) +bool AccessibleContextBase::ResetState (sal_Int16 aState) { ::osl::ClearableMutexGuard aGuard (maMutex); ::utl::AccessibleStateSetHelper* pStateSet = @@ -142,16 +142,16 @@ sal_Bool AccessibleContextBase::ResetState (sal_Int16 aState) AccessibleEventId::STATE_CHANGED, uno::Any(), aOldValue); - return sal_True; + return true; } else - return sal_False; + return false; } -sal_Bool AccessibleContextBase::GetState (sal_Int16 aState) +bool AccessibleContextBase::GetState (sal_Int16 aState) { ::osl::MutexGuard aGuard (maMutex); ::utl::AccessibleStateSetHelper* pStateSet = @@ -160,7 +160,7 @@ sal_Bool AccessibleContextBase::GetState (sal_Int16 aState) return pStateSet->contains(aState); else // If there is no state set then return false as a default value. - return sal_False; + return false; } @@ -647,7 +647,7 @@ void AccessibleContextBase::ThrowIfDisposed (void) -sal_Bool AccessibleContextBase::IsDisposed (void) +bool AccessibleContextBase::IsDisposed (void) { return (rBHelper.bDisposed || rBHelper.bInDispose); } |