Tag: cws_dev300_dba30e User: oj Date: 2008-07-01 05:43:39+0000 Modified: dba/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
Log: #i20563# ini values with 0 File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: FDatabaseMetaDataResultSet.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx?r1=1.22.38.1&r2=1.22.38.2 Delta lines: +8 -8 ------------------- --- FDatabaseMetaDataResultSet.cxx 2008-06-19 11:29:13+0000 1.22.38.1 +++ FDatabaseMetaDataResultSet.cxx 2008-07-01 05:43:36+0000 1.22.38.2 @@ -734,7 +734,7 @@ { if ( _aArguments.getLength() == 2 ) { - sal_Int32 nResultSetType; + sal_Int32 nResultSetType = 0; if ( _aArguments[0] >>= nResultSetType) { setType(static_cast<MetaDataResultSetType>(nResultSetType)); @@ -756,14 +756,14 @@ { case TypeClass_BOOLEAN: { - sal_Bool bValue; + sal_Bool bValue = sal_False; *pRowIter >>= bValue; aValue = new ORowSetValueDecorator(ORowSetValue(bValue)); } break; case TypeClass_BYTE: { - sal_Int8 nValue; + sal_Int8 nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } @@ -771,7 +771,7 @@ case TypeClass_SHORT: case TypeClass_UNSIGNED_SHORT: { - sal_Int16 nValue; + sal_Int16 nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } @@ -779,7 +779,7 @@ case TypeClass_LONG: case TypeClass_UNSIGNED_LONG: { - sal_Int32 nValue; + sal_Int32 nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } @@ -787,21 +787,21 @@ case TypeClass_HYPER: case TypeClass_UNSIGNED_HYPER: { - sal_Int64 nValue; + sal_Int64 nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } break; case TypeClass_FLOAT: { - float nValue; + float nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } break; case TypeClass_DOUBLE: { - double nValue; + double nValue = 0; *pRowIter >>= nValue; aValue = new ORowSetValueDecorator(ORowSetValue(nValue)); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
