]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathClass.h
Assure correct spacing of colored items in mathed
[lyx.git] / src / mathed / InsetMathClass.h
index f50040d3b4b4fdc436ff8ac7fc4e31d0822872d1..1b30738f76d9d89d0ffbed5319c551b3979e3789 100644 (file)
@@ -38,6 +38,10 @@ public:
        void infoize(odocstream & os) const;
        ///
        InsetCode lyxCode() const { return MATH_CLASS_CODE; }
+       ///
+       InsetMathClass * asClassInset() { return this; }
+       ///
+       InsetMathClass const * asClassInset() const { return this; }
 
 private:
        virtual Inset * clone() const;