summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-04-25 12:12:02 +0200
committerMichael Stahl <mstahl@redhat.com>2012-04-25 12:35:35 +0200
commit36394723ac332424d4b74b69ce8d125da4c915fa (patch)
tree9a1207caa5bfa28b2cad83e16b3bee22543bdb20 /sw/source/ui/dbui
parent2915069a67c81f2ee8607112379c65de66648ff0 (diff)
Convert SV_DECL_PTRARR_DEL(SwColumns) to boost::ptr_vector
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 49104bf098ce..f1ee6d8984a3 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -721,7 +721,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, TblFmtHdl, PushButton*, pButton )
nEnd1 = nWidth;
for( sal_uInt16 i = 0; i < nNum; ++i )
{
- SwColumn* pCol = rCols[i];
+ const SwColumn* pCol = &rCols[i];
nStart1 = pCol->GetLeft() + nWidth1;
nWidth1 += (long)rCol.CalcColWidth( i, (sal_uInt16)nWidth );
nEnd1 = nWidth1 - pCol->GetRight();