diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 15:59:34 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 15:59:34 +0000 |
commit | f68711fda54489beb112ac09958ce12767d5401d (patch) | |
tree | c194d7051f45baa76c14ea3752bae730373bc662 /connectivity/source/commontools | |
parent | a4a2c7f30fd7c51f6908753a9fa0e7b54362e968 (diff) |
INTEGRATION: CWS pj65 (1.66.12); FILE MERGED
2006/10/31 14:07:04 pjanik 1.66.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 0974608c236d..f552c8090a6d 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbtools.cxx,v $ * - * $Revision: 1.66 $ + * $Revision: 1.67 $ * - * last change: $Author: ihi $ $Date: 2006-10-18 13:06:32 $ + * last change: $Author: vg $ $Date: 2006-11-21 16:59:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -234,7 +234,7 @@ sal_Int32 getDefaultNumberFormat(const Reference< XPropertySet >& _xColumn, if (!_xTypes.is() || !_xColumn.is()) return NumberFormat::UNDEFINED; - sal_Int32 nDataType; + sal_Int32 nDataType = 0; sal_Int32 nScale = 0; try { @@ -1974,7 +1974,7 @@ void setObjectWithInfo(const Reference<XParameters>& _xParams, break; case DataType::BIGINT: { - sal_Int64 nValue; + sal_Int64 nValue = 0; if(x >>= nValue) { _xParams->setLong(parameterIndex,nValue); @@ -1986,7 +1986,7 @@ void setObjectWithInfo(const Reference<XParameters>& _xParams, case DataType::FLOAT: case DataType::REAL: { - float nValue; + float nValue = 0; if(x >>= nValue) { _xParams->setFloat(parameterIndex,nValue); |