]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macrotemplate.C
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_macrotemplate.C
index 5277073473168a29dde36a29b321ee3714580363..ba994c14b9e8bc51785085617deadd10213ee8f5 100644 (file)
@@ -1,5 +1,3 @@
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma implementation
 #endif
 
 
 MathMacroTemplate::MathMacroTemplate() :
-       MathInset(1, "undefined", LM_OT_MACRO), numargs_(0), users_()
+       MathInset(1, "undefined", LM_OT_MACRO), numargs_(0)
 {}
 
 
 MathMacroTemplate::MathMacroTemplate(string const & nm, int numargs) :
-       MathInset(1, nm, LM_OT_MACRO), numargs_(numargs), users_()
+       MathInset(1, nm, LM_OT_MACRO), numargs_(numargs)
 {}
 
 
@@ -51,7 +49,7 @@ void MathMacroTemplate::Write(std::ostream & os, bool fragile) const
 }
 
 
-void MathMacroTemplate::Metrics(MathStyles st)
+void MathMacroTemplate::Metrics(MathStyles st, int, int)
 {
        xcell(0).Metrics(st);
        size_    = st;