Kaydet (Commit) 010cebc0 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS dba23ui (1.29.36); FILE MERGED

2007/05/21 11:10:14 fs 1.29.36.1: improved field type detection - numbers with leading zeros recognized as text
Issue number:  #i76668#
Submitted by:  tml@openoffice.org
Reviewed by:   frank.schoenheit@sun.com
üst 3c02ac2f
......@@ -4,9 +4,9 @@
*
* $RCSfile: CTable.cxx,v $
*
* $Revision: 1.30 $
* $Revision: 1.31 $
*
* last change: $Author: ihi $ $Date: 2007-06-05 14:20:53 $
* last change: $Author: obo $ $Date: 2007-06-12 05:27:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -328,7 +328,9 @@ void lcl_GetColumnInfo( const Reference<XSpreadsheet>& xSheet, const Reference<X
{
}
if ( nNumType & NumberFormat::NUMBER )
if ( nNumType & NumberFormat::TEXT )
rDataType = DataType::VARCHAR;
else if ( nNumType & NumberFormat::NUMBER )
rDataType = DataType::DECIMAL;
else if ( nNumType & NumberFormat::CURRENCY )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment