]> git.lyx.org Git - features.git/commitdiff
* src/mathed/InsetMathNest.C: simplify call to innerText()
authorMichael Schmitt <michael.schmitt@teststep.org>
Thu, 1 Feb 2007 20:05:59 +0000 (20:05 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Thu, 1 Feb 2007 20:05:59 +0000 (20:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17018 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathNest.C

index fa5edce18fa57641bad6ac295f8c967a212b5aca..40dae7ee177e33457d019a8eb6cbd03e4e50a420 100644 (file)
@@ -667,7 +667,7 @@ void InsetMathNest::doDispatch(LCursor & cur, FuncRequest & cmd)
                // if the inset can not be removed from within, delete it
                if (!cur.backspace()) {
                        FuncRequest cmd = FuncRequest(LFUN_CHAR_DELETE_FORWARD);
-                       cur.bv().cursor().innerText()->dispatch(cur, cmd);
+                       cur.innerText()->dispatch(cur, cmd);
                }
                break;
 
@@ -681,7 +681,7 @@ void InsetMathNest::doDispatch(LCursor & cur, FuncRequest & cmd)
                // if the inset can not be removed from within, delete it
                if (!cur.erase()) {
                        FuncRequest cmd = FuncRequest(LFUN_CHAR_DELETE_FORWARD);
-                       cur.bv().cursor().innerText()->dispatch(cur, cmd);
+                       cur.innerText()->dispatch(cur, cmd);
                }
                break;