]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
Dekels tabular/textinset patches
[lyx.git] / src / CutAndPaste.C
index da51fb0ac635f2a91b89d5ae871284dd0ec30857..ef04824c567c1f18cbef1033357dc16deb3ee103 100644 (file)
@@ -92,8 +92,7 @@ bool CutAndPaste::cutSelection(LyXParagraph * startpar, LyXParagraph ** endpar,
        if (end > startpar->Last())
            end = startpar->Last();
        for (; i < end; ++i) {
-           startpar->CopyIntoMinibuffer(current_view->buffer()->params,
-                                        start);
+           startpar->CopyIntoMinibuffer(*current_view->buffer(), start);
            startpar->Erase(start);
 
            buf->InsertFromMinibuffer(buf->Last());
@@ -188,7 +187,7 @@ bool CutAndPaste::copySelection(LyXParagraph * startpar, LyXParagraph * endpar,
        if (end > startpar->Last())
            end = startpar->Last();
        for (; i < end; ++i) {
-           startpar->CopyIntoMinibuffer(current_view->buffer()->params, i);
+           startpar->CopyIntoMinibuffer(*current_view->buffer(), i);
            buf->InsertFromMinibuffer(buf->Last());
        }
     } else {