X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FParser.cpp;h=41ab92063c031a50b2a496d67dd75de963f039a6;hb=237193f8a888777192981136469a5d4febb8e9d8;hp=69e3460f459de17c1ccc6f15b564eeac8589af69;hpb=3f72a026cc26e8e8dfdd306a62fd174b51dd59c4;p=lyx.git diff --git a/src/tex2lyx/Parser.cpp b/src/tex2lyx/Parser.cpp index 69e3460f45..41ab92063c 100644 --- a/src/tex2lyx/Parser.cpp +++ b/src/tex2lyx/Parser.cpp @@ -12,7 +12,6 @@ #include "Encoding.h" #include "Parser.h" -#include "support/foreach.h" #include "support/lstrings.h" #include "support/textutils.h" @@ -162,6 +161,7 @@ Parser::Parser(idocstream & is, std::string const & fixedenc) { if (fixed_enc_) is_.setEncoding(fixedenc); + catInit(); } @@ -173,6 +173,7 @@ Parser::Parser(string const & s) // An idocstringstream can not change the encoding fixed_enc_(true) { + catInit(); }