]> git.lyx.org Git - lyx.git/blobdiff - src/output_docbook.cpp
Don't clutter the header needlessly
[lyx.git] / src / output_docbook.cpp
index 2b8d6a0384b467213b12014f4bdc9fc53662e189..a7277259cc0699915aa15613150a9a61679db434 100644 (file)
@@ -3,8 +3,8 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
- * \author José Matos
+ * \author Lars Gullik Bjønnes
+ * \author José Matos
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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);