diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-31 11:07:14 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-31 12:15:38 +0200 |
commit | 550ef55881f992b53f860b7f29f4716846779ea0 (patch) | |
tree | cae4d513af26afcd23ea168764c4517cb53a79a6 /include/svl | |
parent | 31c5e451f57ad6172188fddfde5b66ead6f97627 (diff) |
Reintroduce OUString::replaceAt taking an OUString to LIBO_INTERNAL_ONLY
This allows optimizations when 'this' is empty, avoiding allocations, and
making it possible to not special-case it in other places, as was done in
ContentNode::Insert in commit 8ab44b114c6706ab2e3d8a19884daeb544d3c2e1
(tdf#161846 avoid allocation in ContentNode::Insert, 2024-07-30).
A couple of disambiguation templated overloads was introduced.
Change-Id: I2b5e94c2175379b2696c34e600393d32731f0ab6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171271
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/svl')
0 files changed, 0 insertions, 0 deletions