mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
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
This commit is contained in:
parent
6d8f1aa244
commit
dfabfe49c6
@ -58,6 +58,8 @@ public:
|
|||||||
bool deleted() const { return type == DELETED; }
|
bool deleted() const { return type == DELETED; }
|
||||||
///
|
///
|
||||||
void setDeleted() { type = DELETED; }
|
void setDeleted() { type = DELETED; }
|
||||||
|
/// Is this change made by the current author ?
|
||||||
|
bool currentAuthor() const { return author == 0; }
|
||||||
|
|
||||||
Type type;
|
Type type;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user