]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
Add Qt's Svg module to the list of used modules. This is required to allow the use...
[lyx.git] / src / Compare.cpp
index 72510e908ba039fb20a4cc52c0393e1bfb0e85a1..048feba4db318639b105529aeefa1fc34a9e546c 100644 (file)
 #include "insets/InsetText.h"
 
 #include "support/lassert.h"
+#include "support/lyxalgo.h"
 #include "support/qstring_helpers.h"
 
-#include <boost/next_prior.hpp>
-
 using namespace std;
 using namespace lyx::support;
 
@@ -423,8 +422,8 @@ static void getParagraphList(DocRange const & range,
        pit_type startpit = range.from.pit();
        pit_type endpit = range.to.pit();
        ParagraphList const & ps_ = range.text()->paragraphs();
-       ParagraphList tmp_pars(boost::next(ps_.begin(), startpit),
-               boost::next(ps_.begin(), endpit + 1));
+       ParagraphList tmp_pars(next(ps_.begin(), startpit),
+               next(ps_.begin(), endpit + 1));
 
        // Remove the end of the last paragraph; afterwards, remove the
        // beginning of the first paragraph. Keep this order - there may only