]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.cpp
Change the "empty layout" to the "plain layout", to try to avoid confusion.
[lyx.git] / src / output_docbook.cpp
index 2b8d6a0384b467213b12014f4bdc9fc53662e189..a9727da2ad7c601184d59b944ee78b27948c8a27 100644 (file)
@@ -26,6 +26,7 @@
 #include "sgml.h"
 #include "TextClass.h"
 
+#include "support/lassert.h"
 #include "support/convert.h"
 #include "support/debug.h"
 #include "support/lstrings.h"
@@ -302,7 +303,7 @@ void docbookParagraphs(ParagraphList const & paragraphs,
        ParagraphList::const_iterator par = paragraphs.begin();
        ParagraphList::const_iterator pend = 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);