diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-08-14 12:35:51 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-08-14 16:51:19 +0200 |
commit | eceace1f688ef2a50dc298cb4149c5a84fcaa34e (patch) | |
tree | 64b97e5ebe9483174ee9a883d20e876f8748ac70 /basctl | |
parent | f8fdf1df6415dfb3a82e6e632c9d26166984a3d2 (diff) |
sw: fix assert on export of ooo39250-1.rtf to DOCX
The problem is that a fly anchored at-char inside a text frame is being
exported; in DocxSdrExport::startDMLAnchorInline() the
m_bFlyFrameGraphic is true so an "inline" element is written but then
DocxSdrExport::writeDMLTextFrame() sets the flag to true then false,
so in endDMLAnchorInline() it's false and "anchor" results.
Remove the pointless information hiding between DocxSdrExport and its
own pImpl class so that the previous flag can be restored.
(regression from commit 28b77c89dfcafae82cf2a6d85731b643ff9290e5
which changed things somehow so that the anchor is inside the text
frame instead of the body as it was before; Word has it also in the
text frame so we can consider it an improvement)
Change-Id: I2df20b5cc336251f1c20cf81b6d68153c0c6ff46
Reviewed-on: https://gerrit.libreoffice.org/77454
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'basctl')
0 files changed, 0 insertions, 0 deletions