]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_hullinset.C
mathed uglyfication
[features.git] / src / mathed / math_hullinset.C
index c1b6771167d5da088ea8f74c25bdbaf113a06a99..4926e1456eeaf65ee99c3adcc6538477eac9a3bc 100644 (file)
@@ -728,7 +728,7 @@ void MathHullInset::doExtern(FuncRequest const & func, BufferView & bv)
                size_type pos = cur.cell().find_last(eq);
                MathArray ar;
                if (mathcursor && mathcursor->selection()) {
-                       asArray(mathcursor->grabAndEraseSelection(), ar);
+                       asArray(mathcursor->grabAndEraseSelection(bv), ar);
                } else if (pos == cur.cell().size()) {
                        ar = cur.cell();
                        lyxerr << "use whole cell: " << ar << endl;