]> git.lyx.org Git - lyx.git/commitdiff
fix compilation error
authorAndré Pönitz <poenitz@gmx.net>
Thu, 4 Jul 2002 14:48:56 +0000 (14:48 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 4 Jul 2002 14:48:56 +0000 (14:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4534 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/formulabase.C

index c404d951a0aff7712b32103cdacc5edd761abe3a..93bc456b65c9ffe1c4db57ada990d0766147a740 100644 (file)
@@ -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;