summaryrefslogtreecommitdiff
path: root/vcl/workben/pctfuzzer.cxx
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-03-23 12:17:28 -0400
committerJustin Luth <jluth@mail.com>2023-03-24 18:25:37 +0000
commitafbe948d4c47391092c8fcf4130bd7501c3d5062 (patch)
treec1cf7a48b9bd3d5e6cabfacc1164d797ea1d3c4f /vcl/workben/pctfuzzer.cxx
parentae4e5e38b5ec99123ef478143501a9b0a3650171 (diff)
tdf#115625 tdf#76022 sw table: CalcFlyOffset: get correct surround for textbox
The function thought it was dealing with a wrap-through shape, but actually it is wrap parallel. Attempts to syncProperty of RES_SURROUND meet with instant disaster, and likely this emulation works better if the doubled-up shape only has one wrap anyway. There is a helper function for this after all, so that highly suggests workarounds are necessary instead of just syncing the wrap property. There were two existing unit tests identified: -tdf123163-1.docx (doesn't even open in MS Word 2010/2003) -testCustomShapePresetExport.odt (on round-trip) -no differences noticed. Change-Id: I7b0828ce6406fa9cfb1debb68040ea02e8d6fe45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149463 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'vcl/workben/pctfuzzer.cxx')
0 files changed, 0 insertions, 0 deletions