[Libreoffice] Replace (Byte|Uni|Xub_)String with O(U)String: Fill() method is missing
ChrRossmanith at gmx.de
Sat Oct 29 13:18:48 PDT 2011
the deprecated string classes have a Fill(n,c) method which fills a
string with a single character c repeated n times. I found ~50
occurrences of Fill() using "git grep", so it might be worth to add a
Fill() method to OUString. Maybe the name of the new method could be a
bit more verbose e.g. fillWithChar().
Probably I would have to add something similar to "OUString
fillWithChar(sal_uInt32 nNumber,|sal_Unicode cChar=' '|)" to ustring.hxx
and something like rtl_ustr_fillWithChar() to ustring.c|
|Obviously I need some assistance...any hint is welcome.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice