Change SvStorageInfoList from an OwnList to vector<>
Simple changes.
This commit is contained in:
parent
8f8faf15b1
commit
fa51be6f4c
2 changed files with 3 additions and 3 deletions
|
@ -2031,7 +2031,7 @@ void SdrPowerPointImport::SeekOle( SfxObjectShell* pShell, sal_uInt32 nFilterOpt
|
||||||
sal_uInt32 i;
|
sal_uInt32 i;
|
||||||
|
|
||||||
sal_Bool bCopied = sal_True;
|
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 ];
|
const SvStorageInfo& rInfo = aList[ i ];
|
||||||
if ( !xSource->CopyTo( rInfo.GetName(), xMacros, rInfo.GetName() ) )
|
if ( !xSource->CopyTo( rInfo.GetName(), xMacros, rInfo.GetName() ) )
|
||||||
|
|
|
@ -159,9 +159,9 @@ bool SvxImportMSVBasic::ImportForms_Impl( VBA_Impl& rVBA, const String& rStorage
|
||||||
std::vector<String> aUserForms;
|
std::vector<String> aUserForms;
|
||||||
SvStorageInfoList aContents;
|
SvStorageInfoList aContents;
|
||||||
xVBAStg->FillInfoList(&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)
|
if (!rInfo.IsStream() && rInfo.GetName() != rSubStorageName)
|
||||||
aUserForms.push_back(rInfo.GetName());
|
aUserForms.push_back(rInfo.GetName());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue