]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.h
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_hullinset.h
index 43e7d9783c709aea7209aaaf58a6334dde98edee..c2747fb14e232f03add99f3335114d224a15ddff 100644 (file)
@@ -47,9 +47,9 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        /// identifies MatrixInsets
-       virtual MathHullInset const * asHullInset() const { return this; }
+       MathHullInset const * asHullInset() const { return this; }
        /// identifies HullInset
-       virtual MathHullInset * asHullInset() { return this; }
+       MathHullInset * asHullInset() { return this; }
 
        ///
        void addRow(row_type);
@@ -94,6 +94,8 @@ private:
        void glueall();
        ///
        string nicelabel(row_type row) const;
+       /// consistency check
+       void check() const;
 
        ///
        MathInsetTypes objtype_;