From 58d777eca34bbad398570eb72f5745155db3578c Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 27 Aug 2007 13:12:18 +0000 Subject: [PATCH] MacOS compil fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@19831 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index 17692579e1..ca6646cd9b 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1280,7 +1280,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) // FIXME: This Text/Cursor dispatch handling is a mess! // We cannot use Cursor::dispatch here it needs access to up to // date metrics. - cur.text()->dispatch(cur, FuncRequest(LFUN_CAPTION_INSERT)); + FuncRequest cmd_caption(LFUN_CAPTION_INSERT); + cur.text()->dispatch(cur, cmd_caption); cur.updateFlags(Update::Force); // FIXME: When leaving the Float (or Wrap) inset we should // delete any empty paragraph left above or below the