]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.cpp
* GuiToolbar.cpp:
[lyx.git] / src / InsetList.cpp
index 088d3aa2d8c077f282fb4ac641bad97211f20064..057c82d00ec1c376510d9a949a83848f7d4a1e9b 100644 (file)
@@ -61,6 +61,15 @@ InsetList::~InsetList()
 }
 
 
+void InsetList::setBuffer(Buffer & b)
+{
+       List::iterator it = list_.begin();
+       List::iterator end = list_.end();
+       for (; it != end; ++it)
+               it->inset->setBuffer(b);
+}
+
+
 InsetList::iterator InsetList::insetIterator(pos_type pos)
 {
        InsetTable search_elem(pos, 0);