#endif
#include "math_hullinset.h"
+#include "math_mathmlstream.h"
+#include "math_streamstr.h"
#include "math_support.h"
#include "debug.h"
#include "Painter.h"
#include "LaTeXFeatures.h"
-#include "math_mathmlstream.h"
-#include "math_streamstr.h"
+#include "support/LAssert.h"
#include <vector>
string MathHullInset::label(row_type row) const
{
+ row_type n = nrows();
+ lyx::Assert(row < n);
return label_[row];
}
}
+void MathHullInset::check() const
+{
+ lyx::Assert(nonum_.size() == nrows());
+ lyx::Assert(label_.size() == nrows());
+}
+
+