Hi Olivier,

On Tue, 2011-12-13 at 16:02 -0200, Olivier Hallot wrote:
> I am stumbling on the following piece of code
> 
>             if (nodepath.getLength() != 0 || !(value >>= nodepath) || 
> nodepath.getLength() == 0)
...
> in configmgr/source/configurationprovider.cxx:204, 
> and nodepath is an rtl::OUString
> 
> is this TRUE always, or did I missed something?

        What you're missing is this mid-mashing operator overloading; whereby
>>= actually assigns a string to nodepath ;-) so what it says to me is:
if the length > 0 and we successfully assign it to something else from
'value' and the result is non zero - then don't fail ;-)

        HTH,

                Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

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

Reply via email to