X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffactory.cpp;h=fc6468056b086badb5887e428681ba8ae699e7c7;hb=e08e5afeea7194d95be1f02fe9484383574d203f;hp=a30aba41ddd74ea9d7165fd2d592b2df3bbba288;hpb=3e3955c4f3ee3302d2e1aae643be37ee3b758512;p=lyx.git diff --git a/src/factory.cpp b/src/factory.cpp index a30aba41dd..fc6468056b 100644 --- a/src/factory.cpp +++ b/src/factory.cpp @@ -538,9 +538,7 @@ Inset * readInset(Lexer & lex, Buffer const & buf) inset->read(buf, lex); -#ifdef WITH_WARNINGS -#warning hack.. -#endif +// FIXME: hack.. if (inset->lyxCode() == Inset::MATHMACRO_CODE) { MathMacroTemplate const * tmpl = static_cast(inset.get());