]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Cleanup: Replace a bunch of Cursor arguments with DocIterators.
[lyx.git] / src / CutAndPaste.cpp
index 1e9b74190d2e9aafa77dac0955b5c774f2abc3ec..317410497602ff19c1d95eebf0d7413fbae52714 100644 (file)
@@ -941,9 +941,9 @@ void pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs)
                return;
        cur.recordUndo();
        if (asParagraphs)
-               cur.text()->insertStringAsParagraphs(cur, text);
+               cur.text()->insertStringAsParagraphs(cur, text, cur.current_font);
        else
-               cur.text()->insertStringAsLines(cur, text);
+               cur.text()->insertStringAsLines(cur, text, cur.current_font);
 }