X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_macrotable.C;h=885bd5b3b3738e00df1d4d466397937c7348cea7;hb=7338f3b980d4dc5793ff80be814b7a74e1c72274;hp=592906c74e683be9030d9fd6f0e0090abc2c5846;hpb=22b1e8d33a77f637b0ff24cc501171e31182aa7d;p=lyx.git diff --git a/src/mathed/math_macrotable.C b/src/mathed/math_macrotable.C index 592906c74e..885bd5b3b3 100644 --- a/src/mathed/math_macrotable.C +++ b/src/mathed/math_macrotable.C @@ -1,10 +1,14 @@ -#include - -#include +/** + * \file math_macrotable.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS. + */ -#ifdef __GNUG__ -#pragma implementation -#endif +#include #include "math_macrotable.h" #include "math_macro.h" @@ -14,6 +18,10 @@ #include "debug.h" #include "math_support.h" // math_font_available +#include + +using std::endl; + MathMacroTable::table_type MathMacroTable::macro_table; @@ -21,13 +29,13 @@ MathMacroTable::table_type MathMacroTable::macro_table; void MathMacroTable::dump() { /* - lyxerr << "\n------------------------------------------\n"; + lyxerr << "\n------------------------------------------" << endl; table_type::const_iterator it; for (it = macro_table.begin(); it != macro_table.end(); ++it) lyxerr << it->first << " [" << it->second->asMacroTemplate()->nargs() << "] : " - << it->second->cell(0) << "\n"; - lyxerr << "------------------------------------------\n"; + << it->second->cell(0) << endl; + lyxerr << "------------------------------------------" << endl; */ } @@ -37,7 +45,7 @@ MathAtom & MathMacroTable::provide(string const & name) table_type::iterator pos = macro_table.find(name); if (pos == macro_table.end()) { lyxerr << "MathMacroTable::provideTemplate: no template with name '" - << name << "' available.\n"; + << name << "' available." << endl; } return pos->second; }