[Libreoffice] Replace (Byte|Uni|Xub_)String with O(U)String: Fill() method is missing
Chr. Rossmanith
ChrRossmanith at gmx.de
Sat Oct 29 13:18:48 PDT 2011
Hi,
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.
Christina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111029/a65868a7/attachment.html>
More information about the LibreOffice
mailing list