]> git.lyx.org Git - lyx.git/blobdiff - src/text3.C
reenable assertion
[lyx.git] / src / text3.C
index 3afcfbfd30ca9fad0af9f0307d2c36d0e474023c..840ec68e1caabfc67a5d8bbe4b08b4a79fd3eb1c 100644 (file)
@@ -144,7 +144,9 @@ namespace {
                replaceSelection(cur);
 
                if (sel.empty()) {
+#ifdef ENABLE_ASSERTIONS
                        const int old_pos = cur.pos();
+#endif
                        cur.insert(new InsetMathHull(hullSimple));
                        BOOST_ASSERT(old_pos == cur.pos());
                        cur.nextInset()->edit(cur, true);