Change SvStorageInfoList from an OwnList to vector<>

Simple changes.
This commit is contained in:
Joseph Powers 2011-05-15 19:43:08 -07:00
parent 8f8faf15b1
commit fa51be6f4c
2 changed files with 3 additions and 3 deletions

View file

@ -2031,7 +2031,7 @@ void SdrPowerPointImport::SeekOle( SfxObjectShell* pShell, sal_uInt32 nFilterOpt
sal_uInt32 i;
sal_Bool bCopied = sal_True;
for ( i = 0; i < aList.Count(); i++ ) // copy all entrys
for ( i = 0; i < aList.size(); i++ ) // copy all entrys
{
const SvStorageInfo& rInfo = aList[ i ];
if ( !xSource->CopyTo( rInfo.GetName(), xMacros, rInfo.GetName() ) )

View file

@ -159,9 +159,9 @@ bool SvxImportMSVBasic::ImportForms_Impl( VBA_Impl& rVBA, const String& rStorage
std::vector<String> aUserForms;
SvStorageInfoList aContents;
xVBAStg->FillInfoList(&aContents);
for (sal_uInt16 nI = 0; nI < aContents.Count(); ++nI)
for (sal_uInt16 nI = 0; nI < aContents.size(); ++nI)
{
SvStorageInfo& rInfo = aContents.GetObject(nI);
SvStorageInfo& rInfo = aContents[ nI ];
if (!rInfo.IsStream() && rInfo.GetName() != rSubStorageName)
aUserForms.push_back(rInfo.GetName());
}