diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-06-09 21:24:14 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-06-09 21:24:14 -0700 |
commit | 5324c50280614f676fd17fcdd1ab4bc94d5eac5f (patch) | |
tree | 4a39035f7245c20fcc7296fac58bf24e91745c10 /dbaccess/source/ui/browser | |
parent | be5e85a1ffbc3b8c49426349cd4f19f587e3ec89 (diff) |
Change ScTreeEntryList to no longer depend on class List.
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index 70cf1767dfff..8ab98cade86c 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -3872,9 +3872,9 @@ void SbaTableQueryBrowser::impl_cleanupDataSourceEntry( const String& _rDataSour SvTreeEntryList* pList = m_pTreeModel->GetChildList( pDataSourceEntry ); if ( pList ) { - for ( size_t i = 0, n = pList->Count(); i < n; ++i ) + for ( size_t i = 0, n = pList->size(); i < n; ++i ) { - SvLBoxEntry* pEntryLoop = static_cast<SvLBoxEntry*>(pList->GetObject( i )); + SvLBoxEntry* pEntryLoop = static_cast<SvLBoxEntry*>((*pList)[ i ]); DBTreeListUserData* pData = static_cast< DBTreeListUserData* >( pEntryLoop->GetUserData() ); pEntryLoop->SetUserData( NULL ); delete pData; |