]> git.lyx.org Git - features.git/blobdiff - src/insets/Inset.h
Add const versions of Inset::asInsetMath.
[features.git] / src / insets / Inset.h
index 0f4355799161cb642aa7b0f76629ace568cbc62c..33e0c59fa31cc49fb647d24513d70b5f8a76dbf1 100644 (file)
@@ -121,6 +121,8 @@ public:
 
        /// identification as math inset
        virtual InsetMath * asInsetMath() { return 0; }
+       /// identification as math inset
+       virtual InsetMath const * asInsetMath() const { return 0; }
        /// true for 'math' math inset, but not for e.g. mbox
        virtual bool inMathed() const { return false; }
        /// is this inset based on the InsetText class?