]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_fontinset.h
index fbd838baf34be8059c4d3e9818f0081034767a47..7d331e9c5bfa455f2b0c69a751a4f1d1a79c7515 100644 (file)
@@ -22,6 +22,10 @@ public:
        explicit MathFontInset(latexkeys const * key);
        ///
        MathInset * clone() const;
+       ///
+       MathFontInset * asFontInset() { return this; }
+       ///
+       MathFontInset const * asFontInset() const { return this; }
        /// are we in math mode, text mode, or unsure?
        mode_type currentMode() const;
        ///