]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
test-insets-basic.tex: remove (in my opinion) wrong parser test
[lyx.git] / src / Compare.cpp
index 1cdffcba250b17fa1169449e3675803eee50308e..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;
 
@@ -229,7 +228,10 @@ class Compare::Impl {
 public:
        ///
        Impl(Compare const & compare)
-               : abort_(false), compare_(compare), recursion_level_(0), D_(0)
+               : abort_(false), N_(0), M_(0), offset_reverse_diagonal_(0),
+                 odd_offset_(0), compare_(compare),
+                 old_buf_(0), new_buf_(0), dest_buf_(0), dest_pars_(0),
+                 recursion_level_(0), nested_inset_level_(0), D_(0)
        {}
 
        ///
@@ -420,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