Hi Christian,

On Tue, 2011-05-10 at 23:25 +0200, Christian Lohmaier wrote:
> It uses SvStream, and also has the stream set to little endian, but
> then doesn't make use of the SvStream's read operations (that would
> take care of bigendian → littleendian conversion, but manually reads

        ;-)

>     // wrong - you'll read it to big-endian machine, so
>     pStream->Read(&nTag, sizeof(nTag));
..
> If the code used
>    *pStream >> nTag;
> instead, the comparison would result in the correct result.

        can we commit that at least - and then turn off the test for big-endian
machines ? [ in the absence of more PPCs around that seems like it might
be the easiest approach ].

        ATB,

                Michael.        

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


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

Reply via email to