* src/CutAndPaste.C: use const_iterator to access paragraph insetlist

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16048 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2006-11-25 23:22:34 +00:00
parent 3e2629c931
commit 28902af060

View File

@ -210,8 +210,8 @@ pasteSelectionHelper(LCursor & cur, ParagraphList const & parlist,
ParIterator fend = par_iterator_end(in);
for (; fpit != fend; ++fpit) {
InsetList::iterator lit = fpit->insetlist.begin();
InsetList::iterator eit = fpit->insetlist.end();
InsetList::const_iterator lit = fpit->insetlist.begin();
InsetList::const_iterator eit = fpit->insetlist.end();
for (; lit != eit; ++lit) {
switch (lit->inset->lyxCode()) {