Simplify Buffer::allRelatives() now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35539 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-09-29 13:07:12 +00:00
parent 5a46224f73
commit 4e799ee358

View File

@ -2480,9 +2480,7 @@ Buffer const * Buffer::parent() const
ListOfBuffers Buffer::allRelatives() const ListOfBuffers Buffer::allRelatives() const
{ {
if (parent()) return masterBuffer()->getDescendents();
return masterBuffer()->allRelatives();
return getDescendents();
} }