summaryrefslogtreecommitdiffstats
path: root/cppu/source/typelib/typelib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/typelib/typelib.cxx')
-rw-r--r--cppu/source/typelib/typelib.cxx2
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 )