]> git.lyx.org Git - lyx.git/blobdiff - src/output_latex.cpp
this we don't need anymore
[lyx.git] / src / output_latex.cpp
index 5706a4456d5e0b8bc9b6d88b3c1584906cc6104b..7e99809ccb4ec63d63bd713955e393ec0854515c 100644 (file)
@@ -30,6 +30,7 @@
 #include "insets/InsetBibitem.h"
 #include "insets/InsetOptArg.h"
 
+#include "support/assert.h"
 #include "support/debug.h"
 #include "support/lstrings.h"
 
 using namespace std;
 using namespace lyx::support;
 
+
 namespace lyx {
 
 namespace {
 
-
 enum OpenEncoding {
                none,
                inputenc,
@@ -745,7 +746,7 @@ void latexParagraphs(Buffer const & buf,
        ParagraphList::const_iterator par = paragraphs.begin();
        ParagraphList::const_iterator endpar = paragraphs.end();
 
-       BOOST_ASSERT(runparams.par_begin <= runparams.par_end);
+       LASSERT(runparams.par_begin <= runparams.par_end, /**/);
        // if only part of the paragraphs will be outputed
        if (runparams.par_begin !=  runparams.par_end) {
                par = boost::next(paragraphs.begin(), runparams.par_begin);