From: Abdelrazak Younes Date: Mon, 21 Apr 2008 08:31:41 +0000 (+0000) Subject: remove std:: X-Git-Tag: 1.6.10~5064 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2a96bf93b2c0233e6e3b00eb338523a314b37286;p=features.git remove std:: git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24411 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index b8d2dd3988..c6674850cf 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -328,8 +328,8 @@ static void outline(OutlineOp mode, Cursor & cur) } } // One such was found: - pit_type newpit = std::distance(bgn, dest); - pit_type const len = std::distance(start, finish); + pit_type newpit = distance(bgn, dest); + pit_type const len = distance(start, finish); buf.undo().recordUndo(cur, ATOMIC_UNDO, pit, newpit - 1); pars.insert(dest, start, finish); start = boost::next(bgn, pit);