summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-04-29 17:21:54 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-04-29 21:04:07 +0200
commit58607e1c410ee89ddfd47dcd128abfa00e0ac839 (patch)
treeffdc8e5d3d2ce3627b16f03209be7cb5c24c07a3 /helpcompiler
parentb96797dd2e6578e8e1a4cea0fa2f3a17bc194a1c (diff)
sw html/reqif export: fix size of presentation data for "real" OLE2 embedding
InsertOLE1Header() can either take its OLE1 presentation data (preview) from OLE2 or from RTF (SwOLENode). The presentation data size we wrote was incorrect in the OLE2 case case: nPresentationData is the RTF size, nBytes is the actual buffer size. In practice this made the embedded object non-editable in Word (when trying to edit the RTF fragment). This went wrong in commit 0d027abbc5609b096d2a954e77aa7354a55928ab (sw reqif-xhtml export, embedded objects: take OLE1 pres data from rtf if needed, 2020-09-02). Change-Id: I89019202c9a8b40c1b9a21f611f1190fd50073a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114889 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'helpcompiler')
0 files changed, 0 insertions, 0 deletions