X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FErrorList.h;h=29cb03cfe6ace8d311290a8140c756855c36721a;hb=e4b80698be91708ce1b9fd86d6032245ef4f3dc7;hp=41c65fc24a533de59827b29c617362e6a3fe7e6e;hpb=e1492a3ab175588198664c803bf50188439937e7;p=lyx.git diff --git a/src/ErrorList.h b/src/ErrorList.h index 41c65fc24a..29cb03cfe6 100644 --- a/src/ErrorList.h +++ b/src/ErrorList.h @@ -14,8 +14,7 @@ #include "TexRow.h" -#include "support/docstring.h" -#include "support/types.h" +#include "support/strfwd.h" #include @@ -27,6 +26,7 @@ class Buffer; /// A class to hold an error item class ErrorItem { public: + typedef TexRow::TextEntry TextEntry; docstring error; docstring description; // To generalise into RowEntries @@ -35,8 +35,7 @@ public: Buffer const * buffer; // With a start position and an end position ErrorItem(docstring const & error, docstring const & description, - TextEntry start, TextEntry end, - Buffer const * buf = 0); + TextEntry start, TextEntry end, Buffer const * buf = 0); // Error outside the document body ErrorItem(docstring const & error, docstring const & description, Buffer const * buf = 0);