Kaydet (Commit) e98e91b3 authored tarafından Joseph Powers's avatar Joseph Powers

Change SvStorageInfoList from an OwnList to vector<>

Simple changes.
üst 34856694
...@@ -3309,9 +3309,9 @@ sal_Bool StatementCommand::UnpackStorage( SotStorageRef xStorage, DirEntry &aBas ...@@ -3309,9 +3309,9 @@ sal_Bool StatementCommand::UnpackStorage( SotStorageRef xStorage, DirEntry &aBas
SvStorageInfoList aList; SvStorageInfoList aList;
xStorage->FillInfoList( &aList ); xStorage->FillInfoList( &aList );
for( sal_uInt16 i = 0; i < aList.Count(); i++ ) for( size_t i = 0; i < aList.size(); i++ )
{ {
SvStorageInfo& rInfo = aList.GetObject( i ); SvStorageInfo& rInfo = aList[ i ];
String aName = rInfo.GetName(); String aName = rInfo.GetName();
DirEntry aPath ( aBaseDir ); DirEntry aPath ( aBaseDir );
aPath += DirEntry( aName ); aPath += DirEntry( aName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment