From be32b321166ea7cda8a810f07c331ecc3b1d1e51 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 29 Aug 2006 09:58:09 +0000 Subject: INTEGRATION: CWS warningfixes03_SRC680 (1.72.36); FILE MERGED 2006/08/18 14:08:42 mhu 1.72.36.1: #i68745# Fixed GCC 4.0.x warning(s). --- toolkit/source/controls/unocontrols.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index c57214a7a194..2aea36e1e926 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unocontrols.cxx,v $ * - * $Revision: 1.73 $ + * $Revision: 1.74 $ * - * last change: $Author: ihi $ $Date: 2006-08-28 14:56:47 $ + * last change: $Author: ihi $ $Date: 2006-08-29 10:58:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -288,7 +288,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoEditControl, UnoControlBase, UnoEditControl // but maybe we are to display multi-line text? uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_MULTILINE ) ); - sal_Bool b; + sal_Bool b = sal_Bool(); if ( ( aVal >>= b ) && b ) sName= ::rtl::OUString::createFromAscii( "MultiLineEdit" ); @@ -846,7 +846,7 @@ UnoButtonControl::UnoButtonControl() { ::rtl::OUString aName( ::rtl::OUString::createFromAscii( "pushbutton" ) ); uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_PUSHBUTTONTYPE ) ); - sal_Int16 n; + sal_Int16 n = sal_Int16(); if ( ( aVal >>= n ) && n ) { // Use PushButtonType later when available... -- cgit