]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Harmonize naming
[lyx.git] / src / CutAndPaste.cpp
index 874b3411a51c4e9fb1d048a7d1b2a04c60ba86fa..844a119ca25dd5ffb2375b3aabd6524773ed8187 100644 (file)
@@ -532,6 +532,8 @@ void putClipboard(ParagraphList const & paragraphs,
                OutputParams runparams(encodings.fromLyXName("utf8"));
                // We do not need to produce images, etc.
                runparams.dryrun = true;
+               // We are not interested in errors (bug 8866)
+               runparams.silent = true;
                buffer->writeLyXHTMLSource(oshtml, runparams, Buffer::FullSource);
 
                theClipboard().put(lyx, oshtml.str(), plaintext);
@@ -1096,7 +1098,7 @@ bool pasteClipboardText(Cursor & cur, ErrorList & errorList, bool asParagraphs,
 
        // Then try TeX and HTML
        Clipboard::TextType types[2] = {Clipboard::HtmlTextType, Clipboard::LaTeXTextType};
-       string names[2] = {"html", "latex"};
+       string names[2] = {"html", "latexclipboard"};
        for (int i = 0; i < 2; ++i) {
                if (type != types[i] && type != Clipboard::AnyTextType)
                        continue;