mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
74a3786dc5
commit
e1398a66d8
@ -757,7 +757,7 @@ string BufferParams::readToken(Lexer & lex, string const & token,
|
||||
istringstream ss(lex.getString());
|
||||
Author a;
|
||||
ss >> a;
|
||||
author_map[a.buffer_id()] = pimpl_->authorlist.record(a);
|
||||
author_map[a.bufferId()] = pimpl_->authorlist.record(a);
|
||||
} else if (token == "\\paperorientation") {
|
||||
string orient;
|
||||
lex >> orient;
|
||||
|
@ -436,24 +436,22 @@ void Changes::lyxMarkChange(ostream & os, BufferParams const & bparams, int & co
|
||||
|
||||
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) {
|
||||
case Change::UNCHANGED:
|
||||
os << "\n\\change_unchanged\n";
|
||||
break;
|
||||
|
||||
case Change::DELETED: {
|
||||
case Change::DELETED:
|
||||
os << "\n\\change_deleted " << buffer_id
|
||||
<< " " << change.changetime << "\n";
|
||||
break;
|
||||
}
|
||||
|
||||
case Change::INSERTED: {
|
||||
case Change::INSERTED:
|
||||
os << "\n\\change_inserted " << buffer_id
|
||||
<< " " << change.changetime << "\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user