diff options
Diffstat (limited to 'sfx2/source/notify/globalevents.cxx')
-rw-r--r-- | sfx2/source/notify/globalevents.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index 13a8798529ba..cb27cb2ef698 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -337,13 +337,13 @@ sal_Bool SAL_CALL SfxGlobalEvents_Impl::has(const uno::Any& aElement) uno::Reference< frame::XModel > xDoc; aElement >>= xDoc; - sal_Bool bHas = sal_False; + bool bHas = false; // SAFE -> ::osl::ResettableMutexGuard aLock(m_aLock); TModelList::iterator pIt = impl_searchDoc(xDoc); if (pIt != m_lModels.end()) - bHas = sal_True; + bHas = true; aLock.clear(); // <- SAFE |