From dfabfe49c6e6b07298a189b5424e41f1731d10b9 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Tue, 4 Aug 2009 22:37:19 +0000 Subject: [PATCH] Hide some internals of Changes: * no one has to know that the current author has by default id 0, Forgot this in the previous commit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30863 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Changes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Changes.h b/src/Changes.h index 2183adf040..87fdb71230 100644 --- a/src/Changes.h +++ b/src/Changes.h @@ -58,6 +58,8 @@ public: bool deleted() const { return type == DELETED; } /// void setDeleted() { type = DELETED; } + /// Is this change made by the current author ? + bool currentAuthor() const { return author == 0; } Type type;