]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.cpp
Cmake build: Prepare for hardening use of external programs
[lyx.git] / src / InsetList.cpp
index d69211dbd4bb6eaaa343c6326521d3a0a276d4e2..3d4f7155ffd63764d86649613a5596d987aeb390 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Martin Vermeer
  *
  * Full author contact details are available in file CREDITS.
@@ -42,9 +42,8 @@ struct InsetTablePosLess
 } // namespace anon
 
 
-InsetList::InsetList(InsetList const & il)
+InsetList::InsetList(InsetList const & il) : list_(il.list_)
 {
-       list_ = il.list_;
        List::iterator it = list_.begin();
        List::iterator end = list_.end();
        for (; it != end; ++it)