summaryrefslogtreecommitdiff
path: root/idl/source/prj
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-26 09:46:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-26 11:10:41 +0000
commit12088021a0cebc2569b3e0f2e90e4f338d4d601b (patch)
tree44237f1a630edc63de12828f475304871fd9621f /idl/source/prj
parent5cc2997f0e9b20a5aa91b61dea6070189b0a584a (diff)
ByteString->rtl::OString
Diffstat (limited to 'idl/source/prj')
-rw-r--r--idl/source/prj/command.cxx2
-rw-r--r--idl/source/prj/database.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index b7943b66f67b..7a7bc82777a8 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -375,7 +375,7 @@ SvCommand::SvCommand( int argc, char ** argv )
SvCommand::~SvCommand()
{
- // release ByteString list
+ // release String list
for ( size_t i = 0, n = aInFileList.size(); i < n; ++i )
delete aInFileList[ i ];
aInFileList.clear();
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index b55addf0743a..cea9ba568568 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().getString().Equals(rName) )
+ if( aModuleList.GetObject( n )->GetName().getString().equals(rName) )
return aModuleList.GetObject( n );
return NULL;
}
@@ -411,12 +411,12 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm )
if( pTok->IsIdentifier() )
{
- ByteString aName = pTok->GetString();
+ rtl::OString aName = pTok->GetString();
SvMetaTypeMemberList & rList = GetTypeList();
SvMetaType * pType = rList.First();
while( pType )
{
- if( pType->GetName().getString() == aName )
+ if( pType->GetName().getString().equals(aName) )
break;
pType = rList.Next();
}
@@ -485,7 +485,7 @@ SvMetaAttribute * SvIdlDataBase::ReadKnownAttr
for( sal_uLong i = 0; i < aAttrList.Count(); i++ )
{
SvMetaAttribute * pAttr = aAttrList.GetObject( i );
- if( pAttr->GetSlotId().getString() == pTok->GetString() )
+ if( pAttr->GetSlotId().getString().equals(pTok->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().getString() == pTok->GetString() )
+ if( pClass->GetName().getString().equals(pTok->GetString()) )
return pClass;
}