From 69f46cf1b2b56bdb2dd2d84a4205c823e407728b Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 28 Mar 2010 13:20:57 +0000 Subject: [PATCH] Use LASSERT instead of BOOST_ASSERT. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33889 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Text3.cpp b/src/Text3.cpp index 9eba7dbecb..699058cf88 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -198,7 +198,7 @@ static void mathDispatch(Cursor & cur, FuncRequest const & cmd, bool display) void regexpDispatch(Cursor & cur, FuncRequest const & cmd) { - BOOST_ASSERT(cmd.action == LFUN_REGEXP_MODE); + LASSERT(cmd.action == LFUN_REGEXP_MODE, return); if (cur.inRegexped()) { cur.message(_("Already in regular expression mode")); return; -- 2.39.2