diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 14:58:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 15:00:54 +0100 |
commit | bbd9668d5f70d8ff00a7b10915e7a16ceadb8443 (patch) | |
tree | 4e65b4d58e6a4298219b1909f524b710677606d9 /unotools | |
parent | 4eda1a0293a869bf804056f1e9e04c984c69454d (diff) |
bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/i18n/readwritemutexguard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/i18n/readwritemutexguard.cxx b/unotools/source/i18n/readwritemutexguard.cxx index b60a392972d7..0bc602e73127 100644 --- a/unotools/source/i18n/readwritemutexguard.cxx +++ b/unotools/source/i18n/readwritemutexguard.cxx @@ -36,7 +36,7 @@ ReadWriteGuard::ReadWriteGuard( ReadWriteMutex& rMutexP, rMutex.pWriteMutex->acquire(); // wait for any read to complete // TODO: set up a waiting thread instead of a loop - sal_Bool bWait = sal_True; + bool bWait = true; do { rMutex.pMutex->acquire(); |