X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.cpp;h=1f4633008774d4a66f043b933d9cc7fc8cb5b1c8;hb=02e59530b15d223c0978ecacfb7379f7bec986f4;hp=f4f3238e34c0ad2b9ef2268440820bd39e421c45;hpb=b4e2a65d506cb3b588f1bdffc8b3d74cfb7d8c65;p=lyx.git diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index f4f3238e34..1f46330087 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -530,6 +530,8 @@ void putClipboard(ParagraphList const & paragraphs, // XHTML format odocstringstream oshtml; OutputParams runparams(encodings.fromLyXName("utf8")); + // We do not need to produce images, etc. + runparams.dryrun = true; buffer->writeLyXHTMLSource(oshtml, runparams, Buffer::FullSource); theClipboard().put(lyx, oshtml.str(), plaintext);