diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:48:00 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-03-05 13:48:00 +0000 |
commit | 6383411ef25963208a7adaac7a90706ec8749f5c (patch) | |
tree | e6bde467c97eeb9cfa92d301ad7766c822916a84 /sc/source/ui/unoobj | |
parent | 0d3d07c135429aab50c6b38f0ed16b793d61a278 (diff) |
INTEGRATION: CWS pj75 (1.28.2); FILE MERGED
2007/03/04 16:16:52 pjanik 1.28.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1.
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 5521d91c4..69bdaddbb 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: viewuno.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:48:11 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:48:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1717,25 +1717,25 @@ void SAL_CALL ScTabViewObj::setPropertyValue( aNewOpt.SetOption( VOPT_VSCROLL, ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); else if ( aString.EqualsAscii( SC_UNO_SHOWOBJ ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) aNewOpt.SetObjMode( VOBJ_TYPE_OLE, (ScVObjMode) nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_SHOWCHARTS ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) aNewOpt.SetObjMode( VOBJ_TYPE_CHART, (ScVObjMode) nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_SHOWDRAW ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) aNewOpt.SetObjMode( VOBJ_TYPE_DRAW, (ScVObjMode) nIntVal ); } else if ( aString.EqualsAscii( SC_UNO_GRIDCOLOR ) ) { - sal_Int32 nIntVal; + sal_Int32 nIntVal = 0; if ( aValue >>= nIntVal ) aNewOpt.SetGridColor( nIntVal, String() ); } @@ -1743,13 +1743,13 @@ void SAL_CALL ScTabViewObj::setPropertyValue( aNewOpt.SetHideAutoSpell( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); else if ( aString.EqualsAscii( SC_UNO_ZOOMTYPE ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) SetZoomType(nIntVal); } else if ( aString.EqualsAscii( SC_UNO_ZOOMVALUE ) ) { - sal_Int16 nIntVal; + sal_Int16 nIntVal = 0; if ( aValue >>= nIntVal ) SetZoom(nIntVal); } |