]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.cpp
Fix copy&paste bug.
[lyx.git] / src / InsetList.cpp
index c34677be0725bbc8158352f6039036922cfeecb7..50c40f710dc3cf0f8a71c273f42ba6106000e6ff 100644 (file)
@@ -138,4 +138,12 @@ void InsetList::decreasePosAfterPos(pos_type pos)
 }
 
 
+void InsetList::clone()
+{
+       List::iterator it = list_.begin();
+       List::iterator end = list_.end();
+       for (; it != end; ++it)
+               it->inset = it->inset->clone();
+}
+
 } // namespace lyx