diff options
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index d674fd1f719c..331399505b28 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1769,10 +1769,10 @@ WatchTreeListBox::~WatchTreeListBox() void WatchTreeListBox::SetTabs() { SvHeaderTabListBox::SetTabs(); - sal_uInt16 nTabCount_ = aTabs.Count(); + sal_uInt16 nTabCount_ = aTabs.size(); for( sal_uInt16 i = 0 ; i < nTabCount_ ; i++ ) { - SvLBoxTab* pTab = (SvLBoxTab*)aTabs.GetObject(i); + SvLBoxTab* pTab = aTabs[i]; if( i == 2 ) pTab->nFlags |= SV_LBOXTAB_EDITABLE; else |