]> git.lyx.org Git - features.git/commitdiff
Use LASSERT instead of BOOST_ASSERT.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 28 Mar 2010 13:20:57 +0000 (13:20 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 28 Mar 2010 13:20:57 +0000 (13:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33889 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index 9eba7dbecb865bb0ad0e6c8d74ee865dcacf760e..699058cf88b62d070e26284e55fce3fa83bbd7e4 100644 (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;