summaryrefslogtreecommitdiff
path: root/sw/source/core/draw/dflyobj.cxx
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/core/draw/dflyobj.cxx
parent2915069a67c81f2ee8607112379c65de66648ff0 (diff)
Convert SV_DECL_PTRARR_DEL(SwColumns) to boost::ptr_vector
Diffstat (limited to 'sw/source/core/draw/dflyobj.cxx')
-rw-r--r--sw/source/core/draw/dflyobj.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 8e1e0a9f878d..624010d07cb8 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -836,12 +836,12 @@ void SwVirtFlyDrawObj::NbcResize(const Point& rRef,
const SwBorderAttrs &rAttrs = *aAccess.Get();
long nMin = rAttrs.CalcLeftLine()+rAttrs.CalcRightLine();
const SwFmtCol& rCol = rAttrs.GetAttrSet().GetCol();
- if ( rCol.GetColumns().Count() > 1 )
+ if ( rCol.GetColumns().size() > 1 )
{
- for ( sal_uInt16 i = 0; i < rCol.GetColumns().Count(); ++i )
+ for ( sal_uInt16 i = 0; i < rCol.GetColumns().size(); ++i )
{
- nMin += rCol.GetColumns()[i]->GetLeft() +
- rCol.GetColumns()[i]->GetRight() +
+ nMin += rCol.GetColumns()[i].GetLeft() +
+ rCol.GetColumns()[i].GetRight() +
MINFLY;
}
nMin -= MINFLY;