change tracking:

* src/bufferparams.C: output authors no matter whether
        we are in CT mode or not


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15402 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-10-20 12:44:37 +00:00
parent 205e59a03a
commit 88dac3a062

View File

@ -704,13 +704,10 @@ void BufferParams::writeFile(ostream & os) const
os << "\\tracking_changes " << convert<string>(trackChanges) << "\n"; os << "\\tracking_changes " << convert<string>(trackChanges) << "\n";
os << "\\output_changes " << convert<string>(outputChanges) << "\n"; os << "\\output_changes " << convert<string>(outputChanges) << "\n";
if (trackChanges) { AuthorList::Authors::const_iterator a_it = pimpl_->authorlist.begin();
// FIXME: Change tracking (MG) AuthorList::Authors::const_iterator a_end = pimpl_->authorlist.end();
AuthorList::Authors::const_iterator it = pimpl_->authorlist.begin(); for (; a_it != a_end; ++a_it) {
AuthorList::Authors::const_iterator end = pimpl_->authorlist.end(); os << "\\author " << a_it->second << "\n";
for (; it != end; ++it) {
os << "\\author " << it->second << "\n";
}
} }
} }