summaryrefslogtreecommitdiff
path: root/xmloff/source/core/fasttokenhandler.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-09-24 23:07:16 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-09-25 08:40:12 +0200
commit49614a9ea971ff7f370f863ce8a2735aab973cee (patch)
treecb4dcde41909007d9f9c31d0b0d9e1cef2e0a43b /xmloff/source/core/fasttokenhandler.cxx
parent7a8acab1ee7a9396b514e901b1e4fbd51bacb586 (diff)
tdf#119599 RTF import: fix missing deduplication of font size
Deciding when to and when not to deduplicate repeated direct formatting of paragraph / character properties is stricky, this bug is about a case when deduplication should happen and did not, since commit 1970a686273c5d4fc1eeb4430283e37085d9f647 (tdf#113408 RTF import style dedup: separate paragraph and character handling, 2017-10-31). Especially that deduplication works in both directions: it should remove properties which are duplicated and also should insert explicit default values for not repeated properties. Fix the problem by making the getDefaultSPRM() aware of the context (which style type it deals with), and then by making sure that only default properties relevant for the given style type are inserted. Change-Id: I35b6599cc47fa51b8754fd921c61a3b31a283547 Reviewed-on: https://gerrit.libreoffice.org/60946 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'xmloff/source/core/fasttokenhandler.cxx')
0 files changed, 0 insertions, 0 deletions