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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to