From 2be9142dc4ce9f934a1fefda26ba3f77adcfe61c Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 21 Nov 2006 16:03:42 +0000 Subject: [PATCH] INTEGRATION: CWS pj65 (1.51.8); FILE MERGED 2006/10/31 14:12:59 pjanik 1.51.8.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1. --- toolkit/source/controls/unocontrolmodel.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 2432917113e8..24d736a77c46 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unocontrolmodel.cxx,v $ * - * $Revision: 1.51 $ + * $Revision: 1.52 $ * - * last change: $Author: ihi $ $Date: 2006-10-18 13:15:18 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:03:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -716,19 +716,19 @@ void UnoControlModel::write( const ::com::sun::star::uno::Reference< ::com::sun: } else if ( rType == ::getCppuType((const sal_uInt32*)0) ) { - sal_uInt32 n; + sal_uInt32 n = 0; rValue >>= n; OutStream->writeLong( n ); } else if ( rType == ::getCppuType((const sal_Int32*)0) ) { - sal_Int32 n; + sal_Int32 n = 0; rValue >>= n; OutStream->writeLong( n ); } else if ( rType == ::getCppuType((const double*)0) ) { - double n; + double n = 0; rValue >>= n; OutStream->writeDouble( n ); }