Author: more cosmetics. Forgot these in previous commit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36342 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-11-17 16:13:59 +00:00
parent 74a3786dc5
commit e1398a66d8
2 changed files with 4 additions and 6 deletions

View File

@ -757,7 +757,7 @@ string BufferParams::readToken(Lexer & lex, string const & token,
istringstream ss(lex.getString()); istringstream ss(lex.getString());
Author a; Author a;
ss >> a; ss >> a;
author_map[a.buffer_id()] = pimpl_->authorlist.record(a); author_map[a.bufferId()] = pimpl_->authorlist.record(a);
} else if (token == "\\paperorientation") { } else if (token == "\\paperorientation") {
string orient; string orient;
lex >> orient; lex >> orient;

View File

@ -436,24 +436,22 @@ void Changes::lyxMarkChange(ostream & os, BufferParams const & bparams, int & co
column = 0; column = 0;
int const buffer_id = bparams.authors().get(change.author).buffer_id(); int const buffer_id = bparams.authors().get(change.author).bufferId();
switch (change.type) { switch (change.type) {
case Change::UNCHANGED: case Change::UNCHANGED:
os << "\n\\change_unchanged\n"; os << "\n\\change_unchanged\n";
break; break;
case Change::DELETED: { case Change::DELETED:
os << "\n\\change_deleted " << buffer_id os << "\n\\change_deleted " << buffer_id
<< " " << change.changetime << "\n"; << " " << change.changetime << "\n";
break; break;
}
case Change::INSERTED: { case Change::INSERTED:
os << "\n\\change_inserted " << buffer_id os << "\n\\change_inserted " << buffer_id
<< " " << change.changetime << "\n"; << " " << change.changetime << "\n";
break; break;
}
} }
} }