]> git.lyx.org Git - features.git/commitdiff
linux compile fix.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 1 Feb 2007 17:36:56 +0000 (17:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 1 Feb 2007 17:36:56 +0000 (17:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17013 a592a061-630c-0410-9148-cb99ea01b6c8

src/text3.C

index 46b8b7ff4a5dc03758576d8a478d705bf1d76d75..a6103ec59c6bc49f890c3ac29b05f1b4c81c4f90 100644 (file)
@@ -711,7 +711,8 @@ void LyXText::dispatch(LCursor & cur, FuncRequest & cmd)
                                // position is 'size()' and not 'size()-1':
                                cur.pos() = par.size();
                                // Insert a new paragraph
-                               dispatch(cur, FuncRequest(LFUN_BREAK_PARAGRAPH));
+                               FuncRequest fr(LFUN_BREAK_PARAGRAPH);
+                               dispatch(cur, fr);
                        }
                        insertInset(cur, inset);
                        cur.posRight();