X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferList.cpp;h=0daca0929f6e53bb6b80b81a391fec6583c09778;hb=9ef7efd85a09edcca640f4f0fafbeb05548c5c99;hp=6df0dfb3bf6835ac0fd80680fff5b02c4aac9503;hpb=be40bdeb3ef095610f0bbcdce301dcd495915ae6;p=lyx.git diff --git a/src/BufferList.cpp b/src/BufferList.cpp index 6df0dfb3bf..0daca0929f 100644 --- a/src/BufferList.cpp +++ b/src/BufferList.cpp @@ -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); }