diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 15:59:46 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 15:59:46 +0000 |
commit | 2aff2c4ccf705a582d953c92d7c21094f21348bd (patch) | |
tree | 195b43c0d20da502acdbd5dff6853f73043dbb00 /connectivity/source | |
parent | f68711fda54489beb112ac09958ce12767d5401d (diff) |
INTEGRATION: CWS pj65 (1.28.30); FILE MERGED
2006/10/31 14:07:09 pjanik 1.28.30.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/calc/CTable.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx index 1eeac79cebd9..18bd25ecaf78 100644 --- a/connectivity/source/drivers/calc/CTable.cxx +++ b/connectivity/source/drivers/calc/CTable.cxx @@ -4,9 +4,9 @@ * * $RCSfile: CTable.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: obo $ $Date: 2006-09-17 02:19:57 $ + * last change: $Author: vg $ $Date: 2006-11-21 16:59:46 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -321,7 +321,7 @@ void lcl_GetColumnInfo( const Reference<XSpreadsheet>& xSheet, const Reference<X try { Any aNumAny = xProp->getPropertyValue( ::rtl::OUString::createFromAscii("NumberFormat") ); - sal_Int32 nKey; + sal_Int32 nKey = 0; if ( aNumAny >>= nKey ) { Reference<XPropertySet> xFormat = xFormats->getByKey( nKey ); @@ -864,7 +864,7 @@ sal_Bool OCalcTable::fetchRow( OValueRefRow& _rRow, const OSQLColumns & _rCols, { if ( (*_rRow)[i]->isBound() ) { - sal_Int32 nType; + sal_Int32 nType = 0; if ( _bUseTableDefs ) nType = m_aTypes[i-1]; else |