[Libreoffice] Funny piece of code.

Jesús Corrius jesus at softcatala.org
Mon Jan 2 07:44:58 PST 2012

On Mon, Jan 2, 2012 at 4:40 PM, Olivier Hallot
<olivier.hallot at documentfoundation.org> wrote:
> Hash: SHA1
> Hi
> I stumbled on this piece of code in
> registry/tools/regcompare.cxx
> There must be a finesse in lines 326, 330, and so on that I missed
> miserably...

If the string is empty, it adds the text.
If the string already has some content, it adds the text with a
preceding coma to separate the elements.

Jesús Corrius <jesus at softcatala.org>

More information about the LibreOffice mailing list