summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-07-08 09:32:18 +0000
committerOliver Bolte <obo@openoffice.org>2005-07-08 09:32:18 +0000
commit24e0bf5172186dbdf193f67462ac082792cb64af (patch)
treeadd6a4ffb4b78607cc58739e168713e05c86e8be /forms
parent9ff71587bd1ed43bd6f9e702202602e272105c68 (diff)
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
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ImageControl.cxx11
1 files 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 <tools/debug.hxx>
#endif
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
#ifndef _UNOTOOLS_STREAMHELPER_HXX_
#include <unotools/streamhelper.hxx>
@@ -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;