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/control | |
parent | be5e85a1ffbc3b8c49426349cd4f19f587e3ec89 (diff) |
Change ScTreeEntryList to no longer depend on class List.
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/dbtreelistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 4a789c511a04..15cd74538c54 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -126,10 +126,10 @@ SvLBoxEntry* DBTreeListBox::GetEntryPosByName( const String& aName, SvLBoxEntry* SvLBoxEntry* pEntry = NULL; if ( pChilds ) { - size_t nCount = pChilds->Count(); + size_t nCount = pChilds->size(); for (size_t i = 0; i < nCount; ++i) { - pEntry = static_cast<SvLBoxEntry*>(pChilds->GetObject( i )); + pEntry = static_cast<SvLBoxEntry*>((*pChilds)[ i ]); SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); if ( pItem->GetText().Equals(aName) ) { |