From: André Pönitz Date: Thu, 4 Jul 2002 14:48:56 +0000 (+0000) Subject: fix compilation error X-Git-Tag: 1.6.10~18967 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=46880e2b9b49632c56bab2377ce9a3c826cf8d1d;p=lyx.git fix compilation error git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4534 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index c404d951a0..93bc456b65 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -779,7 +779,7 @@ InsetFormulaBase::localDispatch(BufferView * bv, kb_action action, } else { //mathcursor->handleNest(new InsetRef2); //mathcursor->insert(arg); - mathcursor->insert(MathAtom(new InsetRef2(arg))); + mathcursor->insert(MathAtom(new RefInset(arg))); } updateLocal(bv, true); break;