diff options
author | Tushar Bende <tushar.bende@synerzip.com> | 2014-06-10 15:52:23 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-11 09:30:45 +0000 |
commit | e1d80c0d70562e1f24f150a81a34ee4e3edc90f3 (patch) | |
tree | 54cb7a9371386327e7c3b7dd49900f7eb9923707 /shell | |
parent | 63d1aa4dc8aa70256edb19638bcab3a6d5b1f3b6 (diff) |
fdo#79668 :File getting corrupt after RT
Problem Description : For some documents containing redLine data there was already processing done for paragraph properties pPr
but when it comes to DocxAttributeOutput::EndParagraphProperties() instead of writing these pPr, LO was calling Redline( pRedlineData )
which has it's pPr inside w:pPrChange.
This was the reason when LO calls WriteCollectedParagraphProperties() after calling Redline() it was writing both paragraph properties
inside single w:shd element.Hence the RT document was getting Corrupt.
Added condition in DocxAttributeOutput::EndParagraphProperties() which is checking for RedlineData and if it's there call
WriteCollectedParagraphProperties() before calling Redline().
Added Export Test case.
Change-Id: I7000c27fe6ee372cac81d6f22e0d3ca9219a24d7
Reviewed-on: https://gerrit.libreoffice.org/9712
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions