mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +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());
|
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;
|
||||||
|
@ -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;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user