From 030326466f72828727ddf3309cac13761c5b59ab Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 4 May 2013 08:25:21 -0400 Subject: [PATCH] Set "dryrun" to true for XHTML copying routine. This suppresses the production of images, etc, making copying even the entire User's Guide and almost instantaneous operation. --- src/CutAndPaste.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2