]> git.lyx.org Git - lyx.git/blobdiff - src/errorlist.h
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / errorlist.h
index bd9bd1e330a2d136bb258b62ea81157ca06ac173..a593adcf66bd52305ea82878c9e9348cdbfc3cbc 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef ERRORLIST_H
 #define ERRORLIST_H
 
-#include "support/types.h"
+#include "support/docstring.h"
 
 #include <vector>
 #include <string>
@@ -22,12 +22,12 @@ class Buffer;
 /// A class to hold an error item
 class ErrorItem {
 public:
-       std::string error;
-       std::string description;
+       lyx::docstring error;
+       lyx::docstring description;
        int par_id;
        lyx::pos_type pos_start;
        lyx::pos_type pos_end;
-       ErrorItem(std::string const & error, std::string const & description,
+       ErrorItem(lyx::docstring const & error, lyx::docstring const & description,
                  int parid, lyx::pos_type posstart, lyx::pos_type posend);
        ErrorItem();
 };