diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-08-14 12:35:51 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-15 12:48:13 +0200 |
commit | 364f8bcf1208896c9563398f219e9b6a055b43ad (patch) | |
tree | b3da46684fc073d2510cf6147e52480eaca74d8c /sfx2/source/dialog/dinfdlg.cxx | |
parent | 32772af4acf40d9c5d6f50fa962e28bb3f838aae (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
(cherry picked from commit e99f0182ca00d137238f89de67a06415d3c873e3)
Reviewed-on: https://gerrit.libreoffice.org/77466
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
0 files changed, 0 insertions, 0 deletions