From e1398a66d82c88c043201daf25f4c0c4e8132683 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 17 Nov 2010 16:13:59 +0000 Subject: [PATCH] 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 --- src/BufferParams.cpp | 2 +- src/Changes.cpp | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index e3b343a3f7..6ca310908e 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -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; diff --git a/src/Changes.cpp b/src/Changes.cpp index b2fec78d40..598a5bdb5f 100644 --- a/src/Changes.cpp +++ b/src/Changes.cpp @@ -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; - } } }