diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/cmptools/hash.cxx | 2 | ||||
-rw-r--r-- | idl/source/objects/slot.cxx | 4 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index 708e900a8542..22899d6e5c64 100644 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -62,7 +62,7 @@ OString SvStringHashTable::GetNearString( const OString& rName ) const for( auto const & rPair : maInt2EntryMap ) { SvStringHashEntry * pE = rPair.second.get(); - if( pE->GetName().equalsIgnoreAsciiCase( rName ) && !pE->GetName().equals( rName ) ) + if( pE->GetName().equalsIgnoreAsciiCase( rName ) && pE->GetName() != rName ) return pE->GetName(); } return OString(); diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index d68b366cdfd0..20ebd4c5d4c9 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -367,7 +367,7 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName, bool bIn = false; for( size_t n = 0; n < rList.size(); n++ ) { - if (rList[n]->equals(aMethodName)) + if (*rList[n] == aMethodName) { bIn = true; break; @@ -392,7 +392,7 @@ void SvMetaSlot::WriteSlotStubs( const OString& rShellName, bool bIn = false; for ( size_t n=0; n < rList.size(); n++ ) { - if (rList[n]->equals(aMethodName)) + if (*rList[n] == aMethodName) { bIn = true; break; diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 1e0e74dfd8bd..5ecace5416ea 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -260,7 +260,7 @@ SvMetaType * SvIdlDataBase::FindType( const SvMetaType * pPType, SvMetaType * SvIdlDataBase::FindType( const OString& rName ) { for( SvRefMemberList<SvMetaType *>::const_iterator it = aTypeList.begin(); it != aTypeList.end(); ++it ) - if( rName.equals((*it)->GetName()) ) + if( rName == (*it)->GetName() ) return *it; return nullptr; } @@ -275,7 +275,7 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm ) OString aName = rTok.GetString(); for( const auto& aType : GetTypeList() ) { - if( aType->GetName().equals(aName) ) + if( aType->GetName() == aName ) { return aType; } @@ -309,7 +309,7 @@ SvMetaAttribute * SvIdlDataBase::ReadKnownAttr for( sal_uLong i = 0; i < aSlotList.size(); i++ ) { SvMetaSlot * pSlot = aSlotList[i]; - if( pSlot->GetSlotId().getString().equals(rTok.GetString()) ) + if( pSlot->GetSlotId().getString() == rTok.GetString() ) return pSlot; } } |