summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorUmesh Kadam <umesh.kadam@synerzip.com>2014-05-15 23:02:34 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-22 02:31:53 -0500
commit80fd9fb7209cfd5c0622ee99d59e42e6db32f021 (patch)
tree98e21c1b45b4ac9600112b158b392ad36b9c0deb /scaddins
parent4c05911b7ef25505acacbb81053a56cf428e9edc (diff)
fdo#78333 : SdtContent and a Shape overlapping causes corruption
- Normally if there is a case where text/shape is overlapped with (another) shape then LO used to write the text and the AlternateContent in the same run. - This is supported in MSO and there is no visual difference. - But in case if the SdtContent(with text) is overlapped with the Shape then LO processes sdtContent as a text and ends up putting the alternateContent and the text in a single run. Ultimately it includes the entire run in a SdtContent, which is incorrect. - The fix checks for the aforementioned scenario and puts them in a different run and also restricts the sdtContent being written in an invalid AlternateContent. Change-Id: I36f4cdb1b583523dd8f717ae094bdf09c7a61f62 Reviewed-on: https://gerrit.libreoffice.org/9374 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'scaddins')
0 files changed, 0 insertions, 0 deletions