diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-29 10:37:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-05 09:18:16 +0000 |
commit | b7859cdc9bfc90878a6d17136920370ef6426372 (patch) | |
tree | e104982075478acb014cf911678abd28209dc2d9 /idl/source/prj | |
parent | f80d46233150d36183ec3e03708f9f6290c8c339 (diff) |
don't inherit from ByteString
Diffstat (limited to 'idl/source/prj')
-rw-r--r-- | idl/source/prj/database.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 2cddc15b444b..b55addf0743a 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -88,7 +88,7 @@ SvMetaTypeMemberList & SvIdlDataBase::GetTypeList() SvMetaModule * SvIdlDataBase::GetModule( const rtl::OString& rName ) { for( sal_uLong n = 0; n < aModuleList.Count(); n++ ) - if( aModuleList.GetObject( n )->GetName().Equals(rName) ) + if( aModuleList.GetObject( n )->GetName().getString().Equals(rName) ) return aModuleList.GetObject( n ); return NULL; } @@ -365,7 +365,7 @@ SvMetaType * SvIdlDataBase::FindType( const SvMetaType * pPType, SvMetaType * SvIdlDataBase::FindType( const rtl::OString& rName ) { SvMetaType * pType = aTypeList.First(); - while( pType && !rName.equals(pType->GetName()) ) + while( pType && !rName.equals(pType->GetName().getString()) ) pType = aTypeList.Next(); return pType; } @@ -416,7 +416,7 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm ) SvMetaType * pType = rList.First(); while( pType ) { - if( pType->GetName() == aName ) + if( pType->GetName().getString() == aName ) break; pType = rList.Next(); } @@ -446,7 +446,7 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm ) return pType; DBG_ASSERT( aTmpTypeList.First(), "mindestens ein Element" ); - SvMetaTypeRef xType = new SvMetaType( pType->GetName(), 'h', "dummy" ); + SvMetaTypeRef xType = new SvMetaType( pType->GetName().getString(), 'h', "dummy" ); xType->SetRef( pType ); xType->SetIn( bIn ); xType->SetOut( bOut ); @@ -485,7 +485,7 @@ SvMetaAttribute * SvIdlDataBase::ReadKnownAttr for( sal_uLong i = 0; i < aAttrList.Count(); i++ ) { SvMetaAttribute * pAttr = aAttrList.GetObject( i ); - if( pAttr->GetSlotId().getIdentifier() == pTok->GetString() ) + if( pAttr->GetSlotId().getString() == pTok->GetString() ) return pAttr; } } @@ -506,12 +506,12 @@ SvMetaAttribute* SvIdlDataBase::SearchKnownAttr ) { sal_uLong n; - if( FindId( rId.getIdentifier(), &n ) ) + if( FindId( rId.getString(), &n ) ) { for( sal_uLong i = 0; i < aAttrList.Count(); i++ ) { SvMetaAttribute * pAttr = aAttrList.GetObject( i ); - if( pAttr->GetSlotId().getIdentifier() == rId.getIdentifier() ) + if( pAttr->GetSlotId().getString() == rId.getString() ) return pAttr; } } @@ -528,7 +528,7 @@ SvMetaClass * SvIdlDataBase::ReadKnownClass( SvTokenStream & rInStm ) for( sal_uLong n = 0; n < aClassList.Count(); n++ ) { SvMetaClass * pClass = aClassList.GetObject( n ); - if( pClass->GetName() == pTok->GetString() ) + if( pClass->GetName().getString() == pTok->GetString() ) return pClass; } |