diff options
author | Matt K <mattkse@gmail.com> | 2023-08-03 00:06:24 -0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-11-10 19:05:13 +0100 |
commit | 0c3b89da7cde9866bf3174a6276736c76efb8356 (patch) | |
tree | 9c83facf9f05cd7a1dfb6c385370431fb2697e2e /emfio | |
parent | 87f0da8023081398d72372367db11d4a97d91833 (diff) |
tdf#62603 Fix find/replace to not extend font attributes
This change modifies the logic of the core replace code
to now not replace the 1st character and extend its
attributes, but instead to actually replace characters
to keep respective formatting. Additional checks
are made for whether the replacement was shorter or
longer than the found text, and to handle trimming
or appending the final portions as needed.
Change-Id: I03a5645898e55ad386bacc2766af9b244a97bd21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155274
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions