summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-03-07 13:01:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-03-07 13:01:34 +0000
commit7c5955d858f3d92cd3be2411d0b13919e5d5ab98 (patch)
treeb79eccc5532e6a75216448d8987398ea6a09d5b0 /stoc
parentb2fb84499e1f75735e8fd90bc2eece3fed9af5f6 (diff)
!(==) -> !=
Change-Id: Ie1c3c61dea2052e85179157e3e0b6c07dd60bb48
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx14
1 files changed, 7 insertions, 7 deletions
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<IntrospectionAccessStatic_Impl*>(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<IntrospectionAccessStatic_Impl*>(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<css::beans::XIntrospectionAccess> 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<css::beans::XIntrospectionAccess> 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<css::beans::XIntrospectionAccess> 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(