From d5fefbb6d896356ed9aa2971a953ec33e03b3731 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Mon, 14 Jan 2002 15:29:40 +0000 Subject: [PATCH] include iterator git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3374 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 ++++- src/insets/insettext.C | 2 +- src/lastfiles.C | 10 ++++++---- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7eaaf5c1d3..219b4944ef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-01-14 Lars Gullik Bjønnes + + * lastfiles.C: include + 2002-01-14 Angus Leeming * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than @@ -24,7 +28,6 @@ char and append it to the existing string. (peek_event): modify the positioning data passed to the completion browser so that it can be placed above the minibuffer rather than below. - 2002-01-14 Lars Gullik Bjønnes * LyXAction.C (init): alloe error-next for readonly documents. diff --git a/src/insets/insettext.C b/src/insets/insettext.C index 3877f8207e..1e778567c1 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -2125,7 +2125,7 @@ LyXText * InsetText::getLyXText(BufferView const * lbv, if (!recursive && (cached_bview == lbv)) { LyXText * lt = cached_text.get(); lyx::Assert(lt && lt->firstRow()->par() == par); - return cached_text.get(); + return lt; } // Super UGLY! (Lgb) diff --git a/src/lastfiles.C b/src/lastfiles.C index 088a1d73e0..a3b72d408f 100644 --- a/src/lastfiles.C +++ b/src/lastfiles.C @@ -15,13 +15,15 @@ #pragma implementation #endif -#include -#include - -#include "support/FileInfo.h" #include "lastfiles.h" #include "debug.h" +#include "support/FileInfo.h" + +#include +#include +#include + using std::getline; using std::endl; -- 2.39.5