summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-05 23:29:06 +0100
committerTor Lillqvist <tml@collabora.com>2014-03-25 11:36:48 +0200
commitffa899ee41038204f19d1e5c4660507c298f591a (patch)
tree7bb8bb846fb993de3f603754a0d2dcfc21a799e2 /offapi
parentb2fd4bfe76c3ebc219f312d86d9759e5cb4131ac (diff)
rhbz#988516: DOCX import: fix context stack when importing header/footer
When a header/footer substream is parsed, a ParagraphGroup is started, but not ended; so the properties of the last paragraph in the header/footer are applied to a paragraph in the body. The obvious fix to add a call to endParagraphGroup() at the end of w:p element breaks table cells. So add a call to endParagraphGroup() at the end of the "hdr"/"ftr" element. (The problem in the bugdoc became much more visible with commit ca555c596043c88894b964ac5e21f5a7271d5f3b, but was there before) Change-Id: Ib054f1882793049b39424c1076ba5d4b319cd027 (cherry picked from commit 2b78f2cd7b9e4bab0f3b3b9119238f36a1bbc7b2) Reviewed-on: https://gerrit.libreoffice.org/8477 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'offapi')
0 files changed, 0 insertions, 0 deletions