[Libreoffice] Funny piece of code.

2012-01-02 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- 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... Any advise welcome, or I will rip off the ternary operator. Thanks Olivier static OString

Re: [Libreoffice] Funny piece of code.

2012-01-02 Thread Jesús Corrius
On Mon, Jan 2, 2012 at 4:40 PM, Olivier Hallot olivier.hal...@documentfoundation.org wrote: -BEGIN PGP SIGNED MESSAGE- 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...

Re: [Libreoffice] Funny piece of code.

2012-01-02 Thread Stephan Bergmann
On 01/02/2012 04:40 PM, Olivier Hallot wrote: 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... Any advise welcome, or I will rip off the ternary operator. note the leading commas in the

Re: [Libreoffice] Funny piece of code.

2012-01-02 Thread Petr Mladek
Olivier Hallot píše v Po 02. 01. 2012 v 13:40 -0200: -BEGIN PGP SIGNED MESSAGE- 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... Any advise welcome, or I will

Re: [Libreoffice] Funny piece of code.

2012-01-02 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks you guys for the help the finesse was indeed a thin-esse Olivier Em 02-01-2012 13:51, Petr Mladek escreveu: Olivier Hallot píše v Po 02. 01. 2012 v 13:40 -0200: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I stumbled on this piece