]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotable.C
small cleanup, doxygen, formatting changes
[lyx.git] / src / mathed / math_macrotable.C
index f39799459e334599a5b55f2e8574a1d1eaa35c80..d8216b9e73c338d31a5f6c18c6d1e633dba73236 100644 (file)
@@ -9,7 +9,9 @@
 #include "math_deliminset.h"
 #include "math_fracinset.h"
 #include "math_parinset.h"
+#include "debug.h"
 
+using std::endl;
 
 MathMacroTable MathMacroTable::mathMTable;
 
@@ -61,7 +63,7 @@ void MathMacroTable::builtinMacros()
        MathedArray * array = new MathedArray; // this leaks
        iter.SetData(array);
        iter.Insert(new MathAccentInset(LM_in, LM_TC_BOPS, LM_not)); // this leaks
-       m->SetData(array);
+       m->setData(array);
     
        // These two are only while we are still with LyX 2.x
        m = new MathMacroTemplate("emptyset"); // this leaks
@@ -69,20 +71,20 @@ void MathMacroTable::builtinMacros()
        array = new MathedArray; // this leaks
        iter.SetData(array);
        iter.Insert(new MathAccentInset('O', LM_TC_RM, LM_not)); // this leaks
-       m->SetData(array);
+       m->setData(array);
     
        m = new MathMacroTemplate("perp"); // this leaks
        addTemplate(m);
        array = new MathedArray; // this leaks
        iter.SetData(array);
        iter.Insert(LM_bot, LM_TC_BOP);
-       m->SetData(array);
+       m->setData(array);
 
        // binom has two arguments
        m = new MathMacroTemplate("binom", 2);
        addTemplate(m);
        array = new MathedArray; 
-       m->SetData(array);
+       m->setData(array);
        iter.SetData(array);
        inset = new MathDelimInset('(', ')');
        iter.Insert(inset, LM_TC_ACTIVE_INSET);
@@ -90,7 +92,7 @@ void MathMacroTable::builtinMacros()
        iter.SetData(array);
        MathFracInset * frac = new MathFracInset(LM_OT_ATOP);
        iter.Insert(frac, LM_TC_ACTIVE_INSET);
-       inset->SetData(array);
+       inset->setData(array);
        array = new MathedArray;
        array2 = new MathedArray;  
        iter.SetData(array);