]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_funcs.cpp
Typo.
[lyx.git] / src / paragraph_funcs.cpp
index 625d258d7d7271e3ac5c82d4107f00d1864a5006..7f2f45d07c167548c93baccf7aface21431161a2 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "support/debug.h"
 
+#include "support/lassert.h"
 #include <boost/next_prior.hpp>
 
 using namespace std;
@@ -163,7 +164,7 @@ void breakParagraphConservative(BufferParams const & bparams,
 
        tmp.makeSameLayout(par);
 
-       BOOST_ASSERT(pos <= par.size());
+       LASSERT(pos <= par.size(), /**/);
 
        if (pos < par.size()) {
                // move everything behind the break position to the new paragraph