From 2a96bf93b2c0233e6e3b00eb338523a314b37286 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 21 Apr 2008 08:31:41 +0000 Subject: [PATCH] remove std:: git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24411 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2