linux compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17013 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-02-01 17:36:56 +00:00
parent 53bc1cca58
commit 35bb5af289

View 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();