diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:44:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:44:36 +0000 |
commit | cac7414c149c3f4a26006397c2cef5b5a414e1df (patch) | |
tree | 0da8752716817d6b13d1126014b597eebfcf0eac /sc/source/ui/docshell/dbdocimp.cxx | |
parent | 1b4f0b145bd000d8b4391419ed07594a8fff112a (diff) |
INTEGRATION: CWS pj75 (1.21.2); FILE MERGED
2007/03/04 16:12:49 pjanik 1.21.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source/ui/docshell/dbdocimp.cxx')
-rw-r--r-- | sc/source/ui/docshell/dbdocimp.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index a0b38e02277a..1387252b8b84 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbdocimp.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:06:33 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:44:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -158,7 +158,7 @@ BOOL ScDBDocFunc::DoImportUno( const ScAddress& rPos, } else if ( aPropName.EqualsAscii( SC_DBPROP_COMMANDTYPE )) { - sal_Int32 nType; + sal_Int32 nType = 0; if ( rProp.Value >>= nType ) { aImParam.bSql = ( nType == sdb::CommandType::COMMAND ); @@ -180,7 +180,7 @@ BOOL ScDBDocFunc::DoImportUno( const ScAddress& rPos, long nSelLen = aSelection.getLength(); for (i = 0; i < nSelLen; i++) { - sal_Int32 nEntry; + sal_Int32 nEntry = 0; if ( aSelection[i] >>= nEntry ) aList.Insert( (void*)nEntry, LIST_APPEND ); } |