comment out assertion in order to compile without warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16502 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-04 14:13:30 +00:00
parent bce5521446
commit 47fbb72398

View File

@ -144,8 +144,9 @@ namespace {
replaceSelection(cur); replaceSelection(cur);
if (sel.empty()) { if (sel.empty()) {
//const int old_pos = cur.pos();
cur.insert(new InsetMathHull(hullSimple)); cur.insert(new InsetMathHull(hullSimple));
BOOST_ASSERT(old_pos == cur.pos()); //BOOST_ASSERT(old_pos == cur.pos());
cur.nextInset()->edit(cur, true); cur.nextInset()->edit(cur, true);
// don't do that also for LFUN_MATH_MODE // don't do that also for LFUN_MATH_MODE
// unless you want end up with always changing // unless you want end up with always changing