]> git.lyx.org Git - lyx.git/commitdiff
change tracking:
authorMichael Schmitt <michael.schmitt@teststep.org>
Fri, 20 Oct 2006 12:44:37 +0000 (12:44 +0000)
committerMichael Schmitt <michael.schmitt@teststep.org>
Fri, 20 Oct 2006 12:44:37 +0000 (12:44 +0000)
        * 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

src/bufferparams.C

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