From 7ca8f5a5ecaf5b78c3e2a147437ba14ad907f085 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 19 Feb 2009 03:24:51 +0000 Subject: [PATCH] Cosmetics, and comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28552 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/CutAndPaste.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 0d36390bae..bfce241918 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -216,13 +216,11 @@ pasteSelectionHelper(Cursor & cur, ParagraphList const & parlist, } // Prepare the paragraphs and insets for insertion. - // A couple of insets store buffer references so need updating. insertion.swap(in.paragraphs()); InsetIterator const i_end = inset_iterator_end(in); - for (InsetIterator it = inset_iterator_begin(in); it != i_end; ++it) { - + // Insets store buffer references so need updating. it->setBuffer(const_cast(buffer)); switch (it->lyxCode()) { -- 2.39.2