]> git.lyx.org Git - lyx.git/commitdiff
small tweaking (yes I'm dumb)
authorAlfredo Braunstein <abraunst@lyx.org>
Tue, 24 Jun 2003 21:43:25 +0000 (21:43 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Tue, 24 Jun 2003 21:43:25 +0000 (21:43 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7210 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C
src/BufferView.h
src/ChangeLog

index f5e0dcae38f8600f6625b23eb5df8d479c745256..a71a3b01d33fdbffa6310a6f66725c86d424f842 100644 (file)
@@ -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();
 }
 
 
index 3767c584dc79a0f9dd0db34c6d4764cd1603371e..add92022b7fc8c747d05eb73cb7b157aa935bd6a 100644 (file)
@@ -29,7 +29,6 @@ class UpdatableInset;
 class WordLangTuple;
 class Encoding;
 class ErrorList;
-class ErrorItem;
 
 /**
  * A buffer view encapsulates a view onto a particular
index 5f4a525dd1182a4cc6386a68062b41417b2e36f8..939a36e74fdf18c323a260256747cbcc38b94705 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
+
+       * BufferView.[Ch] (getErrorList): removed unneeded forward declare, 
+       moved errorlist_.clear to showErrorList
+       
 2003-06-24  Alfredo Brauntein  <abraunst@lyx.org>
 
        * converter.C (scanLog, runLaTeX):