[Libreoffice-commits] core.git: stoc/source
Caolán McNamara
caolanm at redhat.com
Mon Mar 7 13:01:54 UTC 2016
stoc/source/inspect/introspection.cxx | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 7c5955d858f3d92cd3be2411d0b13919e5d5ab98
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 7 13:01:01 2016 +0000
!(==) -> !=
Change-Id: Ie1c3c61dea2052e85179157e3e0b6c07dd60bb48
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 67a7095..2393dd7 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(
More information about the Libreoffice-commits
mailing list