]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
whitespace
[lyx.git] / src / BufferList.cpp
index 6df0dfb3bf6835ac0fd80680fff5b02c4aac9503..0daca0929f6e53bb6b80b81a391fec6583c09778 100644 (file)
@@ -295,12 +295,12 @@ Buffer * BufferList::getBufferFromTmp(string const & s)
 }
 
 
-void BufferList::setCurrentAuthor(docstring const & name, docstring const & email)
+void BufferList::recordCurrentAuthor(Author const & author)
 {
        BufferStorage::iterator it = bstore.begin();
        BufferStorage::iterator end = bstore.end();
        for (; it != end; ++it)
-               (*it)->params().authors().record(0, Author(name, email));
+               (*it)->params().authors().recordCurrentAuthor(author);
 }