]> git.lyx.org Git - features.git/commitdiff
Cosmetics, and comment.
authorRichard Heck <rgheck@comcast.net>
Thu, 19 Feb 2009 03:24:51 +0000 (03:24 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 19 Feb 2009 03:24:51 +0000 (03:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28552 a592a061-630c-0410-9148-cb99ea01b6c8

src/CutAndPaste.cpp

index 0d36390baea21dda2fce2df9dfd807a133b1347a..bfce241918a7b2be9d587eed8f253e9209c0e168 100644 (file)
@@ -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 &>(buffer));
 
                switch (it->lyxCode()) {