Hi all,
OUString provides the metod replace(sal_Unicode, sal_Unicode), which seems to be not widely
used, while there are for sure some replaceAll("a", "b") calls here and there.
Would it be fine to rename the former to replaceAll(sal_Unicode, sal_Unicode) for consistency, fix
the current calls and then slowly convert all of the call-places of the latter (which I think to be
be less efficient)?
If any backward compatibility is needed, replace could be kept and just call the related replaceAll.
Thanks for any feedback
Cheers
Matteo
Context
- OUString replace(sal_Unicode, sal_Unicode) · Matteo Casalin
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.