Use LASSERT instead of BOOST_ASSERT.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33889 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-03-28 13:20:57 +00:00
parent 3539495abf
commit 69f46cf1b2

View File

@ -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;