]> git.lyx.org Git - lyx.git/commitdiff
comment out assertion in order to compile without warning.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 4 Jan 2007 14:13:30 +0000 (14:13 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 4 Jan 2007 14:13:30 +0000 (14:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16502 a592a061-630c-0410-9148-cb99ea01b6c8

src/text3.C

index 154d58528e21df65250276a27c997289842ee3e4..008347710ae4693262898919b6f06265a506eb8c 100644 (file)
@@ -144,8 +144,9 @@ namespace {
                replaceSelection(cur);
 
                if (sel.empty()) {
                replaceSelection(cur);
 
                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);
                        // don't do that also for LFUN_MATH_MODE
                        // unless you want end up with always changing
                        cur.nextInset()->edit(cur, true);
                        // don't do that also for LFUN_MATH_MODE
                        // unless you want end up with always changing