]> git.lyx.org Git - lyx.git/blobdiff - src/ErrorList.cpp
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / ErrorList.cpp
index 1fc64c7315284f377aef2f17dbb6abb5cd01d17b..f84d17a3a67ea563946e8c119b01b5372ba44dda 100644 (file)
 
 #include "ErrorList.h"
 
-using std::string;
-
+using namespace std;
 
 namespace lyx {
 
+
 ErrorItem::ErrorItem(docstring const & error_, docstring const & description_,
-                    int par_id_, pos_type pos_start_, pos_type pos_end_)
+                    int par_id_, pos_type pos_start_, pos_type pos_end_,
+                    Buffer const * buffer_)
        : error(error_), description(description_), par_id(par_id_),
-         pos_start(pos_start_),  pos_end(pos_end_)
+         pos_start(pos_start_),  pos_end(pos_end_), buffer(buffer_)
 {}
 
 
 ErrorItem::ErrorItem()
-       : par_id(-1), pos_start(0), pos_end(0)
+       : par_id(-1), pos_start(0), pos_end(0), buffer(0)
 {}