git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-10-05 15:21:14 +00:00
parent b8dfb6ad26
commit 3b87f59e42

View File

@ -2480,7 +2480,9 @@ Buffer const * Buffer::parent() const
ListOfBuffers Buffer::allRelatives() const
{
return masterBuffer()->getDescendents();
ListOfBuffers lb = masterBuffer()->getDescendents();
lb.push_front(const_cast<Buffer *>(this));
return lb;
}