]> git.lyx.org Git - lyx.git/blobdiff - src/Author.cpp
tex2lyx/Preamble.cpp: whitespace fix
[lyx.git] / src / Author.cpp
index f4658e61269d020395d5e8d824d3be37ed86c2ce..79e7de0864b942d059a5ec1502eccb475f17b792 100644 (file)
@@ -102,8 +102,7 @@ int AuthorList::record(Author const & a)
 
 void AuthorList::record(int id, Author const & a)
 {
-       LASSERT(unsigned(id) < authors_.size(), /**/);
-
+       LBUFERR(unsigned(id) < authors_.size());
        authors_[id] = a;
 }
 
@@ -117,7 +116,7 @@ void AuthorList::recordCurrentAuthor(Author const & a)
 
 Author const & AuthorList::get(int id) const
 {
-       LASSERT(id < (int)authors_.size() , /**/);
+       LASSERT(id < (int)authors_.size() , return authors_[0]);
        return authors_[id];
 }