OUString replace(sal_Unicode, sal_Unicode)

Matteo Casalin matteo.casalin at yahoo.com
Tue Oct 1 08:05:04 PDT 2013

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


More information about the LibreOffice mailing list