]> git.lyx.org Git - lyx.git/blobdiff - src/author.C
Point fix, earlier forgotten
[lyx.git] / src / author.C
index 45b36b4f150e37c64e7657946c1ee06157346c8c..de80ae6b793be77404e9765d2400d9ad08573ea9 100644 (file)
@@ -5,7 +5,7 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -17,6 +17,8 @@
 #include "support/LIstream.h"
 #include "support/lstrings.h"
 
+using namespace lyx::support;
+
 bool operator==(Author const & l, Author const & r)
 {
        return l.name() == r.name() && l.email() == r.email();
@@ -62,7 +64,7 @@ int AuthorList::record(Author const & a)
 
 void AuthorList::record(int id, Author const & a)
 {
-       lyx::Assert(unsigned(id) < authors_.size());
+       Assert(unsigned(id) < authors_.size());
 
        authors_[id] = a;
 }
@@ -71,7 +73,7 @@ void AuthorList::record(int id, Author const & a)
 Author const & AuthorList::get(int id)
 {
        Authors::const_iterator it(authors_.find(id));
-       lyx::Assert(it != authors_.end());
+       Assert(it != authors_.end());
        return it->second;
 }