From 876b95fdcd6804137b0d22e3709a7bd426259b8a Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 Jul 2006 15:43:41 +0000 Subject: INTEGRATION: CWS warningfixes02 (1.42.4); FILE MERGED 2006/06/30 12:17:35 sb 1.42.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box. --- forms/source/component/ImageControl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'forms/source/component') diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index a80aa91d89c2..8d7f0ec83a2b 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ImageControl.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: hr $ $Date: 2006-06-19 12:51:46 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:43:41 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -820,7 +820,7 @@ void OImageControlControl::mousePressed(const ::com::sun::star::awt::MouseEvent& return; } - sal_Bool bReadOnly; + sal_Bool bReadOnly = false; xSet->getPropertyValue(PROPERTY_READONLY) >>= bReadOnly; if (bReadOnly) return; -- cgit