From 7c5955d858f3d92cd3be2411d0b13919e5d5ab98 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Mar 2016 13:01:01 +0000 Subject: !(==) -> != Change-Id: Ie1c3c61dea2052e85179157e3e0b6c07dd60bb48 --- stoc/source/inspect/introspection.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'stoc/source') diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 67a709599bc7..2393dd7e0510 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -293,7 +293,7 @@ sal_Int32 IntrospectionAccessStatic_Impl::getPropertyIndex( const OUString& aPro sal_Int32 iHashResult = -1; IntrospectionAccessStatic_Impl* pThis = const_cast(this); IntrospectionNameMap::iterator aIt = pThis->maPropertyNameMap.find( aPropertyName ); - if( !( aIt == pThis->maPropertyNameMap.end() ) ) + if (aIt != pThis->maPropertyNameMap.end()) iHashResult = (*aIt).second; return iHashResult; } @@ -303,7 +303,7 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const OUString& aMetho sal_Int32 iHashResult = -1; IntrospectionAccessStatic_Impl* pThis = const_cast(this); IntrospectionNameMap::iterator aIt = pThis->maMethodNameMap.find( aMethodName ); - if( !( aIt == pThis->maMethodNameMap.end() ) ) + if (aIt != pThis->maMethodNameMap.end()) { iHashResult = (*aIt).second; } @@ -321,7 +321,7 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const OUString& aMetho OUString aPureMethodName = aMethodName.copy( nFound + 1 ); aIt = pThis->maMethodNameMap.find( aPureMethodName ); - if( !( aIt == pThis->maMethodNameMap.end() ) ) + if (aIt != pThis->maMethodNameMap.end()) { // Check if it can be a type? // Problem: Does not work if package names contain _ ?! @@ -1539,7 +1539,7 @@ OUString ImplIntrospectionAccess::getExactName( const OUString& rApproximateName OUString aRetStr; LowerToExactNameMap::iterator aIt = mpStaticImpl->maLowerToExactNameMap.find( rApproximateName.toAsciiLowerCase() ); - if( !( aIt == mpStaticImpl->maLowerToExactNameMap.end() ) ) + if (aIt != mpStaticImpl->maLowerToExactNameMap.end()) aRetStr = (*aIt).second; return aRetStr; } @@ -1923,7 +1923,7 @@ css::uno::Reference Implementation::inspect( // Do we have the name already? IntrospectionNameMap::iterator aIt = rPropNameMap.find( aPropName ); - if( !( aIt == rPropNameMap.end() ) ) + if (aIt != rPropNameMap.end()) continue; // New entry in the hash table @@ -2097,7 +2097,7 @@ css::uno::Reference Implementation::inspect( // Do we have the name already? IntrospectionNameMap::iterator aIt = rPropNameMap.find( aPropName ); - if( !( aIt == rPropNameMap.end() ) ) + if (aIt != rPropNameMap.end()) { /* TODO OSL_TRACE( @@ -2286,7 +2286,7 @@ css::uno::Reference Implementation::inspect( // Do we have the name already? IntrospectionNameMap::iterator aIt = rPropNameMap.find( aPropName ); - if( !( aIt == rPropNameMap.end() ) ) + if (aIt != rPropNameMap.end()) { /* TODO: OSL_TRACE( -- cgit