// 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);
PasteReturnValue prv =
pasteSelectionHelper(cur, parlist, docclass, 0, errorList);
- if (prv.needupdate)
- cur.forceBufferUpdate();
+ cur.forceBufferUpdate();
cur.clearSelection();
text->setCursor(cur, prv.par, prv.pos);
}