RTF import: fix as-char anchored OLE objects

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 1 August 2014 10:25 UTC

Regression from 2a35f5c7945d00b6f6e21fc7cf5b05b184eba88f (DOCX OLE import: inherit anchor type from replacement graphic, 2014-02-18), then problem was that dmapper expected that the anchor type of the replacement graphic is set, but the RTF tokenizer wasn't adapted to fulfill this requirement.

43b8836 RTF import: fix as-char anchored OLE objects
sw/qa/extras/inc/swmodeltestbase.hxx | 3 +
sw/qa/extras/rtfimport/data/ole-inline.rtf | 188 ++++++++++++++++++++++++
sw/qa/extras/rtfimport/rtfimport.cxx | 8 +-
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 3 +
4 files changed, 200 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share