X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_docbook.cpp;h=6ab9c9d9f076bd08641567efa20c0530af32d16c;hb=5940dc53aab9fec6cd02f8be337f0e6c9b2e5fb1;hp=12061ef462c3581e0b832e23be3164088ac9725b;hpb=d3b5260f45d8b65c972f89819113723de96ed5ed;p=lyx.git diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index 12061ef462..6ab9c9d9f0 100644 --- a/src/output_docbook.cpp +++ b/src/output_docbook.cpp @@ -32,6 +32,8 @@ #include "support/lstrings.h" #include "support/lyxalgo.h" +#include + using namespace std; using namespace lyx::support; @@ -327,8 +329,8 @@ void docbookParagraphs(Text const & text, // if only part of the paragraphs will be outputed if (runparams.par_begin != runparams.par_end) { - par = next(paragraphs.begin(), runparams.par_begin); - pend = next(paragraphs.begin(), runparams.par_end); + par = lyx::next(paragraphs.begin(), runparams.par_begin); + pend = lyx::next(paragraphs.begin(), runparams.par_end); // runparams will be passed to nested paragraphs, so // we have to reset the range parameters. const_cast(runparams).par_begin = 0;