]> git.lyx.org Git - lyx.git/blobdiff - src/changes.C
more cursor dispatch
[lyx.git] / src / changes.C
index fe4b087680c46923394abe74a342e4e5b2b313a2..8da7e289f231323545237f07cba04e9c5ee83999 100644 (file)
@@ -1,27 +1,27 @@
 /**
  * \file changes.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * Record changes in a paragraph.
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
  *
- * \author John Levon <levon@movementarian.org>
+ * Record changes in a paragraph.
  */
 
 #include <config.h>
 
 #include "changes.h"
 #include "debug.h"
-#include "author.h"
 
-#include "support/LAssert.h"
-#include "support/LOstream.h"
+#include <boost/assert.hpp>
 
-using namespace lyx::support;
+using lyx::pos_type;
 
-using std::vector;
 using std::endl;
-using lyx::pos_type;
+using std::string;
+
 
 bool operator==(Change const & l, Change const & r)
 {
@@ -327,7 +327,7 @@ Change const Changes::lookupFull(pos_type pos) const
        }
 
        check();
-       Assert(false);
+       BOOST_ASSERT(false);
        return Change(Change::UNCHANGED);
 }
 
@@ -349,7 +349,7 @@ Change::Type Changes::lookup(pos_type pos) const
        }
 
        check();
-       Assert(0);
+       BOOST_ASSERT(0);
        return Change::UNCHANGED;
 }
 
@@ -487,7 +487,7 @@ void Changes::check() const
        if (lyxerr.debugging(Debug::CHANGES))
                lyxerr[Debug::CHANGES] << "End" << endl;
 
-       Assert(dont_assert);
+       BOOST_ASSERT(dont_assert);
 }