]> git.lyx.org Git - features.git/commitdiff
Revert r39330.
authorRichard Heck <rgheck@comcast.net>
Mon, 18 Jul 2011 13:53:54 +0000 (13:53 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 18 Jul 2011 13:53:54 +0000 (13:53 +0000)
This reverts commit 6003924601add454110db97b68974834cad7c4c9.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39338 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp
status.20x

index f3d76b98efe53fd87b061204b05ffc4847439e6b..238225bcb38492f4687cd1fe9f7d412bc8264873 100644 (file)
@@ -2568,10 +2568,6 @@ void Buffer::collectChildren(ListOfBuffers & clist, bool grand_children) const
                        // there might be grandchildren
                        child->collectChildren(clist, true);
        }
-       // Make sure we have not included ourselves.
-       ListOfBuffers::iterator bit = find(clist.begin(), clist.end(), this);
-       if (bit != clist.end())
-               clist.erase(bit);
 }
 
 
index 79dbc0bfb732ea35684ec4cf4a1619dd1363c26c..6bd035f34bddb054eeba808c83ddde7f6b1ffadf 100644 (file)
@@ -158,10 +158,6 @@ What's new
 
 - Fix output of unicode math from within child documents (bug 7682).
 
-- Added a check for recursive includes that should prevent some of the
-  crashes we see in such cases.
-
-
 * USER INTERFACE
 
 - Fixed crash relating to outliner and mouse movement.