From: Jean-Marc Lasgouttes Date: Mon, 18 Feb 2008 10:03:30 +0000 (+0000) Subject: * TextClass.cpp (read): do not use istrstream (which is deprecated), X-Git-Tag: 1.6.10~6234 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c075a285a0061ee5b8fd714fec2460dd579ff793;p=features.git * TextClass.cpp (read): do not use istrstream (which is deprecated), but istringstream instead. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23053 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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;