mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
* 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
This commit is contained in:
parent
6f5e86e065
commit
c075a285a0
@ -35,7 +35,6 @@
|
||||
#include "support/os.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <strstream>
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user