]> git.lyx.org Git - lyx.git/commitdiff
cerr -> lyxerr[Debug::Mathed]
authorAndré Pönitz <poenitz@gmx.net>
Thu, 30 May 2002 09:19:12 +0000 (09:19 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 30 May 2002 09:19:12 +0000 (09:19 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4290 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_factory.C

index 00acdbb6228f189d1108e118fea777aba48d87fd..e0e16d2a02a1e955a5de5e852ef1ca6b2dfcf291 100644 (file)
@@ -275,7 +275,7 @@ latexkeys const * in_word_set(string const & str)
 
 MathAtom createMathInset(string const & s)
 {
-       cerr << "creating inset with name: '" << s << "'\n";
+       lyxerr[Debug::MATHED] << "creating inset with name: '" << s << "'\n";
        if (s.size() == 2 && s[0] == '#' && s[1] >= '1' && s[1] <= '9')
                return MathAtom(new MathMacroArgument(s[1] - '0'));
 
@@ -319,7 +319,7 @@ MathAtom createMathInset(string const & s)
        latexkeys const * l = in_word_set(s);
        if (l) {
                string const & inset = l->inset;
-               cerr << " fount inset: '" << inset << "'\n";
+               lyxerr[Debug::MATHED] << " fount inset: '" << inset << "'\n";
                if (inset == "funclim")
                        return MathAtom(new MathFuncLimInset(s));
                if (inset == "special")
@@ -357,6 +357,6 @@ MathAtom createMathInset(string const & s)
        if (MathMacroTable::has(s))
                return MathAtom(new MathMacro(s));
 
-       //cerr << "creating inset 2 with name: '" << s << "'\n";
+       //lyxerr[Debug::MATHED] << "creating inset 2 with name: '" << s << "'\n";
        return MathAtom(new MathUnknownInset(s));
 }