summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-06-24 15:46:03 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-06-24 19:09:09 +0200
commitf58e3e3402c87755a2dd3cb83f29d00c40b94f1a (patch)
tree44b23f6f9b617611fe716ffa5e4a53686d599b73 /external
parent857eee7c2cf8baaab556db6ce888db0db1c8a858 (diff)
Related: tdf#161652 sw, RTF paste: only keep used paragraph styles
When pasting from old enough Impress that doesn't have commit afb4ea67463d9f0200dc6216cfd932aec0984c82 (tdf#161652 editeng, RTF copy: only write used paragraph styles, 2024-06-20), it still happened that we got many styles from an Impress slide's paragraph in Writer than just the style of that paragraph itself. The problem is that if we want to avoid problems with bad user input, that has to be handled on the RTF paste / import side, not on the producing side. Fix the problem by filtering out unused paragraph styles also on the RTF import (paste) side, in the IsNewDoc() case, which is the clipboard case (not RTF file open). With this, we attempt to filter out not needed paragraph styles both on the import and export side. Change-Id: Ic2c63e5f45245bb4296ec0d1a95558c459667e29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169445 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions