]> git.lyx.org Git - lyx.git/blobdiff - src/changes.C
more cursor dispatch
[lyx.git] / src / changes.C
index f27207aa98dcc91e531398282a5af4ff2769c47d..8da7e289f231323545237f07cba04e9c5ee83999 100644 (file)
 #include "changes.h"
 #include "debug.h"
 
-#include "support/LAssert.h"
+#include <boost/assert.hpp>
 
-using namespace lyx::support;
+using lyx::pos_type;
 
 using std::endl;
-using lyx::pos_type;
+using std::string;
+
 
 bool operator==(Change const & l, Change const & r)
 {
@@ -326,7 +327,7 @@ Change const Changes::lookupFull(pos_type pos) const
        }
 
        check();
-       Assert(false);
+       BOOST_ASSERT(false);
        return Change(Change::UNCHANGED);
 }
 
@@ -348,7 +349,7 @@ Change::Type Changes::lookup(pos_type pos) const
        }
 
        check();
-       Assert(0);
+       BOOST_ASSERT(0);
        return Change::UNCHANGED;
 }
 
@@ -486,7 +487,7 @@ void Changes::check() const
        if (lyxerr.debugging(Debug::CHANGES))
                lyxerr[Debug::CHANGES] << "End" << endl;
 
-       Assert(dont_assert);
+       BOOST_ASSERT(dont_assert);
 }