On Thu, Jan 03, 2013 at 02:54:32PM +0100, Lubos Lunak wrote:
> On Thursday 27 of December 2012, Lionel Elie Mamane wrote:
>> The following code does not do what one would think:
>> sal_uInt8 nValue = 255;
>> Any aValue;
>> aValue <<= nValue;
>> aValue now contains a *BOOLEAN*. That's rather..
On 12/27/2012 03:14 PM, Lionel Elie Mamane wrote:
Ideally, I'd like that we fix this in LibreOffice 4.1.
The cleanest would be to add support for unsigned 8 bit integer in
Any, which as far as I understand would entail:
- adding typelib_TypeClass_UNSIGNED_BYTE to cppu/inc/typelib/typeclass.h
On Thursday 27 of December 2012, Lionel Elie Mamane wrote:
> Hi,
>
> The following code does not do what one would think:
>
> sal_uInt8 nValue = 255;
> Any aValue;
> aValue <<= nValue;
>
> aValue now contains a *BOOLEAN*. That's rather... surprising, and
> could bite any of us one day.
Why cou