summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/trvlfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-04-25 11:55:03 +0200
committerMichael Stahl <mstahl@redhat.com>2012-04-25 12:35:32 +0200
commit4dcc1b650e4e2451e9e39f971ddfc49309203f25 (patch)
tree0f9f42e5182704f38569d41d32cf78bb95e6968b /sw/source/core/layout/trvlfrm.cxx
parent7cd899bc6cdf885837f77e7250c21a0995a75aab (diff)
Convert SV_DECL_PTRARR_DEL(SwSelUnions) to boost::ptr_vector
Diffstat (limited to 'sw/source/core/layout/trvlfrm.cxx')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index d2c3d4ea8eec..00b496036c5f 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -1922,9 +1922,9 @@ bool SwRootFrm::MakeTblCrsrs( SwTableCursor& rTblCrsr )
const sal_Bool bReadOnlyAvailable = rTblCrsr.IsReadOnlyAvailable();
- for ( sal_uInt16 i = 0; i < aUnions.Count(); ++i )
+ for ( sal_uInt16 i = 0; i < aUnions.size(); ++i )
{
- SwSelUnion *pUnion = aUnions[i];
+ SwSelUnion *pUnion = &aUnions[i];
const SwTabFrm *pTable = pUnion->GetTable();
// Skip any repeated headlines in the follow: