]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathPhantom.h
Give inset codes to all the math insets, so we get more information when
[features.git] / src / mathed / InsetMathPhantom.h
index 6bfdd08c5ea19bef0ecbf1d76732e7db78d58532..9d21bbdeff3e2ecb5a43bbb56d266b7f2d8c86fd 100644 (file)
@@ -37,6 +37,9 @@ public:
        void normalize(NormalStream & ns) const;
        ///
        void infoize(odocstream & os) const;
+       ///
+       InsetCode lyxCode() const { return MATH_PHANTOM_CODE; }
+
 private:
        ///
        virtual Inset * clone() const;