]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.C
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_macrotemplate.C
index 8ba89644f13345fca3f965b10fe6abc09d6eae2b..7efaee6fb5267b7b914d6921c80a83a5037cb907 100644 (file)
@@ -1,10 +1,26 @@
+/**
+ * \file math_macrotemplate.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.
+ */
+
+#include <config.h>
+
 #include "math_macrotemplate.h"
 #include "math_mathmlstream.h"
 #include "math_parser.h"
 #include "frontends/Painter.h"
 #include "debug.h"
+#include "LColor.h"
+
 
+using std::string;
 using std::auto_ptr;
+using std::endl;
 
 
 MathMacroTemplate::MathMacroTemplate()
@@ -31,7 +47,7 @@ MathMacroTemplate::MathMacroTemplate(std::istream & is)
        MathArray ar;
        mathed_parse_cell(ar, is);
        if (ar.size() != 1 || !ar[0]->asMacroTemplate()) {
-               lyxerr << "cannot read macro from '" << ar << "'\n";
+               lyxerr << "cannot read macro from '" << ar << "'" << endl;
                return;
        }
        operator=( *(ar[0]->asMacroTemplate()) );
@@ -40,7 +56,7 @@ MathMacroTemplate::MathMacroTemplate(std::istream & is)
 
 auto_ptr<InsetBase> MathMacroTemplate::clone() const
 {
-       //lyxerr << "cloning MacroTemplate!\n";
+       //lyxerr << "cloning MacroTemplate!" << endl;
        return auto_ptr<InsetBase>(new MathMacroTemplate(*this));
 }