mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
3539495abf
commit
69f46cf1b2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user