From 37e207d92658bc9ef3d8426e9f473110367575b4 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Tue, 24 Jun 2003 21:43:25 +0000 Subject: [PATCH] small tweaking (yes I'm dumb) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7210 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.C | 2 +- src/BufferView.h | 1 - src/ChangeLog | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/BufferView.C b/src/BufferView.C index f5e0dcae38..a71a3b01d3 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -341,6 +341,7 @@ void BufferView::showErrorList(string const & action) const if (getErrorList().size()) { string const title = bformat(_("LyX: %1$s errors (%2$s)"), action, buffer()->fileName()); owner()->getDialogs().show("errorlist", title); + pimpl_->errorlist_.clear(); } } @@ -349,7 +350,6 @@ ErrorList const & BufferView::getErrorList() const { return pimpl_->errorlist_; - pimpl_->errorlist_.clear(); } diff --git a/src/BufferView.h b/src/BufferView.h index 3767c584dc..add92022b7 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -29,7 +29,6 @@ class UpdatableInset; class WordLangTuple; class Encoding; class ErrorList; -class ErrorItem; /** * A buffer view encapsulates a view onto a particular diff --git a/src/ChangeLog b/src/ChangeLog index 5f4a525dd1..939a36e74f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-06-24 Alfredo Brauntein + + * BufferView.[Ch] (getErrorList): removed unneeded forward declare, + moved errorlist_.clear to showErrorList + 2003-06-24 Alfredo Brauntein * converter.C (scanLog, runLaTeX): -- 2.39.2