diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index ce4757594036..309543b4078d 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -2219,7 +2219,7 @@ extern "C" void typelib_typedescriptionreference_getByName( { MutexGuard aGuard( rInit.getMutex() ); WeakMap_Impl::const_iterator aIt = rInit.pWeakMap->find( pName->buffer ); - if( !(aIt == rInit.pWeakMap->end()) ) // != failed on msc4.2 + if( aIt != rInit.pWeakMap->end() ) { sal_Int32 n = osl_atomic_increment( &(*aIt).second->nRefCount ); if( n > 1 ) |