mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
5a46224f73
commit
4e799ee358
@ -2480,9 +2480,7 @@ Buffer const * Buffer::parent() const
|
||||
|
||||
ListOfBuffers Buffer::allRelatives() const
|
||||
{
|
||||
if (parent())
|
||||
return masterBuffer()->allRelatives();
|
||||
return getDescendents();
|
||||
return masterBuffer()->getDescendents();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user