]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetFormulaMacro.h
Give inset codes to all the math insets, so we get more information when
[features.git] / src / mathed / InsetFormulaMacro.h
index 47dc2664d82c19b669a165acbd92a38f82075315..7d08dc3d754abbd7a2cf1d5bc7729afa57a96290 100644 (file)
@@ -51,11 +51,13 @@ public:
        int docbook(odocstream &, OutputParams const &) const;
 
        ///
-       InsetCode lyxCode() const { return MATHMACRO_CODE; }
+       InsetCode lyxCode() const { return MATHMACRO_CODE_CODE; }
        ///
        docstring const & getInsetName() const { return name_; }
        ///
        bool editable() const { return true; }
+       ///
+       InsetCode lyxCode() const { return MATH_FORMULA_MACRO_CODE; }
 private:
        ///
        MathAtom & tmpl() const;