[Libreoffice] [PATCH] Add support for bool for the operator << and >> of SvStream

Noel Power nopower at novell.com
Mon Oct 4 07:54:55 PDT 2010


Hi Norbet
On Sat, 2010-10-02 at 21:18 -0500, Norbert Thiebaud wrote:
> [PATCH] Add support for bool for the operator << and >> of SvStream
> 
I just wonder did you have a specific reason for this patch. I would
assume if someone would be reading or writing a boolean value to a
binary stream they probably would be packing it some how in the
structure they are writing. E.g. normally in the binary filters ( where
SvStream is used ) boolean values are usually read & written ( packed )
into some sort of bit field in 16 or 32 bit words. Caolan what do you
think?

Noel



More information about the LibreOffice mailing list