remove std::

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24411 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-04-21 08:31:41 +00:00
parent 61c4dc2af8
commit 2a96bf93b2

View File

@ -328,8 +328,8 @@ static void outline(OutlineOp mode, Cursor & cur)
} }
} }
// One such was found: // One such was found:
pit_type newpit = std::distance(bgn, dest); pit_type newpit = distance(bgn, dest);
pit_type const len = std::distance(start, finish); pit_type const len = distance(start, finish);
buf.undo().recordUndo(cur, ATOMIC_UNDO, pit, newpit - 1); buf.undo().recordUndo(cur, ATOMIC_UNDO, pit, newpit - 1);
pars.insert(dest, start, finish); pars.insert(dest, start, finish);
start = boost::next(bgn, pit); start = boost::next(bgn, pit);