]> git.lyx.org Git - lyx.git/blobdiff - src/changes.C
Move #includes out of header files.
[lyx.git] / src / changes.C
index c60357718b1ab17385541124168eec26bac65473..100dbc2233bfa65d34a529feee2eac5148ecc0ed 100644 (file)
@@ -1,11 +1,13 @@
 /**
  * \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>
@@ -17,6 +19,8 @@
 #include "support/LAssert.h"
 #include "support/LOstream.h"
 
+using namespace lyx::support;
+
 using std::vector;
 using std::endl;
 using lyx::pos_type;
@@ -325,7 +329,7 @@ Change const Changes::lookupFull(pos_type pos) const
        }
 
        check();
-       lyx::Assert(0);
+       Assert(false);
        return Change(Change::UNCHANGED);
 }
 
@@ -347,7 +351,7 @@ Change::Type Changes::lookup(pos_type pos) const
        }
 
        check();
-       lyx::Assert(0);
+       Assert(0);
        return Change::UNCHANGED;
 }
 
@@ -485,7 +489,7 @@ void Changes::check() const
        if (lyxerr.debugging(Debug::CHANGES))
                lyxerr[Debug::CHANGES] << "End" << endl;
 
-       lyx::Assert(dont_assert);
+       Assert(dont_assert);
 }