From 24e0bf5172186dbdf193f67462ac082792cb64af Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Fri, 8 Jul 2005 09:32:18 +0000 Subject: [PATCH] INTEGRATION: CWS dba20blocker (1.38.44); FILE MERGED 2005/06/23 11:36:20 fs 1.38.44.1: copying fix for #i50470# into this CWS --- forms/source/component/ImageControl.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index b53284f8b1b8..5c6940b78efe 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ImageControl.cxx,v $ * - * $Revision: 1.38 $ + * $Revision: 1.39 $ * - * last change: $Author: vg $ $Date: 2005-03-10 16:00:56 $ + * last change: $Author: obo $ $Date: 2005-07-08 10:32:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -134,6 +134,9 @@ #ifndef _TOOLS_DEBUG_HXX #include #endif +#ifndef _SV_SVAPP_HXX +#include +#endif #ifndef _UNOTOOLS_STREAMHELPER_HXX_ #include @@ -762,8 +765,8 @@ void OImageControlControl::implInsertGraphics() //------------------------------------------------------------------------------ void OImageControlControl::mousePressed(const ::com::sun::star::awt::MouseEvent& e) throw ( ::com::sun::star::uno::RuntimeException) { - ////////////////////////////////////////////////////////////////////// - // Nur linke Maustaste + ::vos::OGuard aGuard( Application::GetSolarMutex() ); + if (e.Buttons != MouseButton::LEFT) return;