diff --git a/src/TextClass.cpp b/src/TextClass.cpp index 78e3fcf7d6..aad3678723 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -35,7 +35,6 @@ #include "support/os.h" #include -#include using namespace std; using namespace lyx::support; @@ -236,7 +235,7 @@ bool TextClass::read(FileName const & filename, ReadType rt) "AlignPossible Left, Right, Center\n" "LabelType No_Label\n" "End"; - istrstream ss(s); + istringstream ss(s); Lexer lex(textClassTags, sizeof(textClassTags) / sizeof(textClassTags[0])); lex.setStream(ss); Layout lay;