summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-05-15 19:43:45 -0700
committerJoseph Powers <jpowers27@cox.net>2011-05-17 18:30:34 -0700
commit3dff76348ebcfdc520ff61077fef4d58e02c6ba4 (patch)
tree8003f4d13ac1cf0cbcf57a4caf0d44914b0fbf8f /basic
parent718966db6fce4f30ca81a3834665f4dc0d5a1912 (diff)
Change SvStorageInfoList from an OwnList to vector<>
Simple changes.
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 2ac89b548598..734f4535d461 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1569,18 +1569,18 @@ sal_Bool BasicManager::RemoveLib( sal_uInt16 nLib, sal_Bool bDelBasicFromStorage
// If no further stream available,
// delete the SubStorage.
- SvStorageInfoList aInfoList( 0, 4 );
+ SvStorageInfoList aInfoList;
xBasicStorage->FillInfoList( &aInfoList );
- if ( !aInfoList.Count() )
+ if ( aInfoList.empty() )
{
xBasicStorage.Clear();
xStorage->Remove( String(RTL_CONSTASCII_USTRINGPARAM(szBasicStorage)) );
xStorage->Commit();
// If no further Streams or SubStorages available,
// delete the Storage, too.
- aInfoList.Clear();
+ aInfoList.clear();
xStorage->FillInfoList( &aInfoList );
- if ( !aInfoList.Count() )
+ if ( aInfoList.empty() )
{
String aName_( xStorage->GetName() );
xStorage.Clear();