mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
* 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:
parent
3e2629c931
commit
28902af060
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user