summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-16 20:57:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-17 17:55:18 +0100
commit7f902e1697d077dd4a32846ff85f6134a556d528 (patch)
tree4af1cdaf3edf03680641be6af0b512181a658739 /cppuhelper/source/component.cxx
parent34a44156b3983849749d82b90d82b84aeb538aae (diff)
cppuhelper: sal_Bool -> bool
Change-Id: I6e0e6c1e4880a652ea4d8f0cccf9d8103c2cbbef
Diffstat (limited to 'cppuhelper/source/component.cxx')
-rw-r--r--cppuhelper/source/component.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index c178e986fcc7..6d13d89355a6 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -148,14 +148,14 @@ void OComponentHelper::dispose()
// Guard dispose against multible threading
// Remark: It is an error to call dispose more than once
- sal_Bool bDoDispose = sal_False;
+ bool bDoDispose = false;
{
MutexGuard aGuard( rBHelper.rMutex );
if( !rBHelper.bDisposed && !rBHelper.bInDispose )
{
// only one call go into this section
rBHelper.bInDispose = sal_True;
- bDoDispose = sal_True;
+ bDoDispose = true;
}
}