+#if 0
+void MathedArray::insertInset(int pos, MathedInset * p, int type)
+{
+ //bf_.insert(pos, type);
+ InsetTable tmp(pos, p);
+ insetList_.push_back(tmp);
+}
+
+
+MathedInset * MathedArray::getInset(int pos)
+{
+ InsetList::const_iterator cit = insetList_.begin();
+ InsetList::const_iterator end = insetList_.end();
+ for (; cit != end; ++cit) {
+ if ((*cit).pos == pos)
+ return (*cit).inset;
+ }
+ // not found
+ return 0;
+ // We would really like to throw an exception instead... (Lgb)
+ // throw inset_not_found();
+}
+
+#else