From 5c2ffa702a0e5aedccfd99dff1cf0fe813a8c2a8 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 5 Mar 2007 13:47:32 +0000 Subject: INTEGRATION: CWS pj75 (1.17.2); FILE MERGED 2007/03/04 16:16:44 pjanik 1.17.2.1: #i75099#: Prevent warnings on Mac OS X/gcc-4.0.1. --- sc/source/ui/unoobj/shapeuno.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/source') diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx index 701cf5e3cd6f..a082b9b9a9a5 100644 --- a/sc/source/ui/unoobj/shapeuno.cxx +++ b/sc/source/ui/unoobj/shapeuno.cxx @@ -4,9 +4,9 @@ * * $RCSfile: shapeuno.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: vg $ $Date: 2007-02-27 13:47:02 $ + * last change: $Author: obo $ $Date: 2007-03-05 14:47:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -483,7 +483,7 @@ void SAL_CALL ScShapeObj::setPropertyValue( } else if ( aNameString.EqualsAscii( SC_UNONAME_HORIPOS ) ) { - sal_Int32 nPos; + sal_Int32 nPos = 0; if (aValue >>= nPos) { SdrObject *pObj = GetSdrObject(); @@ -579,7 +579,7 @@ void SAL_CALL ScShapeObj::setPropertyValue( } else if ( aNameString.EqualsAscii( SC_UNONAME_VERTPOS ) ) { - sal_Int32 nPos; + sal_Int32 nPos = 0; if (aValue >>= nPos) { SdrObject *pObj = GetSdrObject(); -- cgit