]> git.lyx.org Git - features.git/commitdiff
remove std::
authorAbdelrazak Younes <younes@lyx.org>
Mon, 21 Apr 2008 08:31:41 +0000 (08:31 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 21 Apr 2008 08:31:41 +0000 (08:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24411 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index b8d2dd398815b61b504a40bdb59b30daf20d6cf8..c6674850cfb460b69ba3eaadcca43b8fc13fd5b3 100644 (file)
@@ -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);