diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:47:19 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:47:19 +0000 |
commit | 61cd8e3df4314b450fe6915d598daff17209cac5 (patch) | |
tree | 3ada416991986fcbb01ba1124635a5d1ffe41311 /sc/source | |
parent | f7f80037179c6d4c1d158d7164b392a84f3fde94 (diff) |
INTEGRATION: CWS pj75 (1.7.2); FILE MERGED
2007/03/04 16:16:40 pjanik 1.7.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/unoobj/optuno.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/optuno.cxx b/sc/source/ui/unoobj/optuno.cxx index 0f88aac0fe2f..c3d2fbb9933d 100644 --- a/sc/source/ui/unoobj/optuno.cxx +++ b/sc/source/ui/unoobj/optuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: optuno.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:46:40 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:47:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -99,25 +99,25 @@ sal_Bool ScDocOptionsHelper::setPropertyValue( ScDocOptions& rOptions, rOptions.SetAutoSpell( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); else if ( aString.EqualsAscii( SC_UNO_DEFTABSTOP ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) rOptions.SetTabDistance( nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_ITERCOUNT ) ) { - sal_Int32 nIntVal; + sal_Int32 nIntVal = 0; if ( aValue >>= nIntVal ) rOptions.SetIterCount( (USHORT)nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_STANDARDDEC ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) rOptions.SetStdPrecision( nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_ITEREPSILON ) ) { - double fDoubleVal; + double fDoubleVal = 0; if ( aValue >>= fDoubleVal ) rOptions.SetIterEps( fDoubleVal ); } |