]> git.lyx.org Git - lyx.git/blobdiff - src/errorlist.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / errorlist.h
index 993d2b1f937ec320e432b144a41c1644011a238b..f2a9b2d46787ac1bd603bb07cf58884884dc92b1 100644 (file)
@@ -18,7 +18,6 @@
 #include <vector>
 
 class Buffer;
-class TeXErrors;
 
 /// A class to hold an error item
 struct ErrorItem {
@@ -27,8 +26,8 @@ struct ErrorItem {
        int par_id;
        int pos_start;
        int pos_end;
-       ErrorItem(string const &, string const &
-                 int, int, int);
+       ErrorItem(string const & error, string const & description
+                 int parid, int posstart, int posend);
        ErrorItem();
 };
 
@@ -36,7 +35,6 @@ class ErrorList : private std::vector<ErrorItem>
 {
 public:        
        ErrorList() : std::vector<ErrorItem> () {};
-       ErrorList(Buffer const & buf, TeXErrors const &);
 
        using std::vector<ErrorItem>::push_back;
        using std::vector<ErrorItem>::end;