summaryrefslogtreecommitdiffstats
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-06-28 10:06:59 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-04 23:23:22 +0200
commita87c24fcfe1d8842d892185d6f9f2e07c52c3804 (patch)
tree9fbc9ad9b9dbcfa698ab0f98d4562a8d7734855b /basctl
parentfix previous STL conversion commit: (diff)
downloadcore-a87c24fcfe1d8842d892185d6f9f2e07c52c3804.tar.gz
core-a87c24fcfe1d8842d892185d6f9f2e07c52c3804.zip
Convert aTabs field in SvTreeListBox from SvPtrarr to std::vector
Change-Id: I901c6df67fc95cfb2ac3ea15e69a47c5fc3161b6
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx4
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