Re: TINYINT set as signed in formcontrolfactory.cxx

2013-01-19 Thread Lionel Elie Mamane
On Sat, Jan 19, 2013 at 09:52:08AM +0100, Alex Thurgood wrote: > On 01/19/2013 04:40 AM, Lionel Elie Mamane wrote: >> The central question is: what are the consequences of this code? If it > I seem to recall that using TINYINT as a boolean field (...) Well, hmmm, from a "standard SQL" point of v

Re: TINYINT set as signed in formcontrolfactory.cxx

2013-01-19 Thread Alex Thurgood
On 01/19/2013 04:40 AM, Lionel Elie Mamane wrote: > > It sets it as *un*signed. > Aarghh, yes, that's what I meant to write in my brain, and my fingers typed otherwise. > It is exactly the opposite of the capabilities of LibreOffice's > internal system with 8-bit integers (most notably the "An

Re: TINYINT set as signed in formcontrolfactory.cxx

2013-01-18 Thread Lionel Elie Mamane
On Sat, Jan 12, 2013 at 08:43:53PM +0100, Alexander Thurgood wrote: > I came across this in the file formcontrolfactory.cxx, which has > left me a bit puzzled : > sal_Int32 nDataType = DataType::OTHER; > OSL_VERIFY( _rxDatabaseField->getPropertyValue( > FM_PROP_FIELDTYPE ) >>= nDataTy

TINYINT set as signed in formcontrolfactory.cxx

2013-01-12 Thread Alexander Thurgood
Hi, While trying to find out where the default font for form controls was set, I came across this in the file formcontrolfactory.cxx, which has left me a bit puzzled : sal_Int32 nDataType = DataType::OTHER; OSL_VERIFY( _rxDatabaseField->getPropertyValue( FM_PROP_FIELDTYPE ) >>= nData