From a87c24fcfe1d8842d892185d6f9f2e07c52c3804 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 28 Jun 2012 10:06:59 +0200 Subject: Convert aTabs field in SvTreeListBox from SvPtrarr to std::vector Change-Id: I901c6df67fc95cfb2ac3ea15e69a47c5fc3161b6 --- basctl/source/basicide/baside2b.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source') 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 -- cgit