summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-05-22 20:26:49 -0700
committerJoseph Powers <jpowers27@cox.net>2011-05-22 20:27:19 -0700
commit3a2a53da020e66b9a9505b95bb0523d06ba7174e (patch)
treeb49b2bf0e018476f0bc11ae765e675d00e2d7d6c /dbaccess/source/ui/control
parent4233db9d50fec92b0907b785924455b7638c1b56 (diff)
class SvTreeEntryList is no longer dependant on class List
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index fe9da7403ab3..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 )
{
- sal_uLong nCount = pChilds->Count();
- for (sal_uLong i=0; i < nCount; ++i)
+ 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) )
{