summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/unoobj/optuno.cxx12
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 );
}