]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
* de/UserGuide: some translation work.
[lyx.git] / src / Buffer.cpp
index 686485bd469465205b28fb82def094ccf718d3f6..d2eff530f835197ca76ef1481d0c3e2f9177c98c 100644 (file)
@@ -2543,7 +2543,7 @@ Buffer const * Buffer::parent() const
 ListOfBuffers Buffer::allRelatives() const
 {
        ListOfBuffers lb = masterBuffer()->getDescendents();
-       lb.push_front(const_cast<Buffer *>(this));
+       lb.push_front(const_cast<Buffer *>(masterBuffer()));
        return lb;
 }