From 35bb5af289fbbb68090707756a24ab9b85c4e60c Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 1 Feb 2007 17:36:56 +0000 Subject: [PATCH] linux compile fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17013 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/text3.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/text3.C b/src/text3.C index 46b8b7ff4a..a6103ec59c 100644 --- a/src/text3.C +++ b/src/text3.C @@ -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();