diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-28 10:06:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-04 23:23:22 +0200 |
commit | a87c24fcfe1d8842d892185d6f9f2e07c52c3804 (patch) | |
tree | 9fbc9ad9b9dbcfa698ab0f98d4562a8d7734855b /cui/source/tabpages | |
parent | 09a61733bf4352edfc7fe341e9342594557ed02f (diff) |
Convert aTabs field in SvTreeListBox from SvPtrarr to std::vector
Change-Id: I901c6df67fc95cfb2ac3ea15e69a47c5fc3161b6
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index c459791cffea..2643aa44be48 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -808,15 +808,15 @@ void OfaACorrCheckListBox::SetTabs() SvxSimpleTable::SetTabs(); sal_uInt16 nAdjust = SV_LBOXTAB_ADJUST_RIGHT|SV_LBOXTAB_ADJUST_LEFT|SV_LBOXTAB_ADJUST_CENTER|SV_LBOXTAB_ADJUST_NUMERIC|SV_LBOXTAB_FORCE; - if( aTabs.Count() > 1 ) + if( aTabs.size() > 1 ) { - SvLBoxTab* pTab = (SvLBoxTab*)aTabs.GetObject(1); + SvLBoxTab* pTab = aTabs[1]; pTab->nFlags &= ~nAdjust; pTab->nFlags |= SV_LBOXTAB_PUSHABLE|SV_LBOXTAB_ADJUST_CENTER|SV_LBOXTAB_FORCE; } - if( aTabs.Count() > 2 ) + if( aTabs.size() > 2 ) { - SvLBoxTab* pTab = (SvLBoxTab*)aTabs.GetObject(2); + SvLBoxTab* pTab = aTabs[2]; pTab->nFlags &= ~nAdjust; pTab->nFlags |= SV_LBOXTAB_PUSHABLE|SV_LBOXTAB_ADJUST_CENTER|SV_LBOXTAB_FORCE; } |