diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-05-15 19:39:55 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-16 18:33:52 -0700 |
commit | e98e91b35c06d7b53f517e175050d797537982e6 (patch) | |
tree | 1311e701d37ebdb78200b5d609260681a4300026 /automation/source | |
parent | 348566943ca7ebae80ffdf4776917de374e240ec (diff) |
Change SvStorageInfoList from an OwnList to vector<>
Simple changes.
Diffstat (limited to 'automation/source')
-rw-r--r-- | automation/source/server/statemnt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx index daafaf0952d3..7acabf1c238f 100644 --- a/automation/source/server/statemnt.cxx +++ b/automation/source/server/statemnt.cxx @@ -3309,9 +3309,9 @@ sal_Bool StatementCommand::UnpackStorage( SotStorageRef xStorage, DirEntry &aBas SvStorageInfoList 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(); DirEntry aPath ( aBaseDir ); aPath += DirEntry( aName ); |