diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-02-13 07:45:15 -0800 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-02-13 07:45:15 -0800 |
commit | c26e1670697f3ab1c2808224a4e3490ef50f488e (patch) | |
tree | da90c7eb50cdd64298cf18d3a3727d717e039973 /tools/bootstrp | |
parent | 62b6678650cd6c6e2565628bfd6b365afad9af4e (diff) |
Remove DECLARE_LIST( GenericInformationList_Impl, GenericInformation* )
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/prj.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx index 251182242157..ba4ec6b603d7 100644 --- a/tools/bootstrp/prj.cxx +++ b/tools/bootstrp/prj.cxx @@ -477,8 +477,8 @@ Star::Star( GenericInformationList *pStandLst, ByteString &rVersion, GenericInformation *pInfo2 = pStandLst->GetInfo( sPath, TRUE ); if ( pInfo2 && pInfo2->GetSubList()) { GenericInformationList *pDrives = pInfo2->GetSubList(); - for ( ULONG i = 0; i < pDrives->Count(); i++ ) { - GenericInformation *pDrive = pDrives->GetObject( i ); + for ( size_t i = 0; i < pDrives->size(); i++ ) { + GenericInformation *pDrive = (*pDrives)[ i ]; if ( pDrive ) { DirEntry aEntry; BOOL bOk = FALSE; @@ -526,8 +526,8 @@ Star::Star( GenericInformationList *pStandLst, ByteString &rVersion, String sPrjDir( String::CreateFromAscii( "prj" )); String sSolarFile( String::CreateFromAscii( "build.lst" )); - for ( ULONG j = 0; j < pProjects->Count(); j++ ) { - ByteString sProject( *pProjects->GetObject( j )); + for ( size_t j = 0; j < pProjects->size(); j++ ) { + ByteString sProject( *(*pProjects)[ j ] ); String ssProject( sProject, RTL_TEXTENCODING_ASCII_US ); DirEntry aPrjEntry( aEntry ); @@ -995,8 +995,8 @@ StarWriter::StarWriter( GenericInformationList *pStandLst, ByteString &rVersion, GenericInformation *pInfo2 = pStandLst->GetInfo( sPath, TRUE ); if ( pInfo2 && pInfo2->GetSubList()) { GenericInformationList *pDrives = pInfo2->GetSubList(); - for ( ULONG i = 0; i < pDrives->Count(); i++ ) { - GenericInformation *pDrive = pDrives->GetObject( i ); + for ( size_t i = 0; i < pDrives->size(); i++ ) { + GenericInformation *pDrive = (*pDrives)[ i ]; if ( pDrive ) { DirEntry aEntry; BOOL bOk = FALSE; @@ -1044,8 +1044,8 @@ StarWriter::StarWriter( GenericInformationList *pStandLst, ByteString &rVersion, String sPrjDir( String::CreateFromAscii( "prj" )); String sSolarFile( String::CreateFromAscii( "build.lst" )); - for ( ULONG j = 0; j < pProjects->Count(); j++ ) { - ByteString sProject( *pProjects->GetObject( j )); + for ( size_t j = 0; j < pProjects->size(); j++ ) { + ByteString sProject( *(*pProjects)[ j ] ); String ssProject( sProject, RTL_TEXTENCODING_ASCII_US ); DirEntry aPrjEntry( aEntry ); |