]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
Make Buffer argument mandatory in most of the InsetMath based class... boring work...
[lyx.git] / src / mathed / MathMacroTemplate.h
index 4b6b98924bd89083685f1c688522ecaec0f69b74..f6ac948d87e51330baf372c4d7c7c0b18063ed53 100644 (file)
@@ -26,15 +26,15 @@ namespace lyx {
 class MathMacroTemplate : public InsetMathNest {
 public:
        ///
-       MathMacroTemplate(Buffer * buf = 0);
+       MathMacroTemplate(Buffer * buf);
        ///
-       MathMacroTemplate(docstring const & name, int nargs, int optional, 
-               MacroType type, Buffer * buf = 0,
+       MathMacroTemplate(Buffer * buf, docstring const & name, int nargs,
+               int optional, MacroType type, 
                std::vector<MathData> const & optionalValues = std::vector<MathData>(),
                MathData const & def = MathData(),
                MathData const & display = MathData());
        ///
-       explicit MathMacroTemplate(const docstring & str, Buffer * buf = 0);
+       MathMacroTemplate(Buffer * buf, const docstring & str);
        ///
        bool editable() const { return true; }
        ///