summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-08-24 06:18:40 +0000
committerTino Rachui <tra@openoffice.org>2001-08-24 06:18:40 +0000
commit5e76e4301fdf7239802ec890dac20727deebaecb (patch)
tree709da85196a8b41b98c1bb697586afed840940aa /fpicker
parent5eb6bb2ba1716615a84be113090e758149f14fa1 (diff)
#90832#aqcuire SolarMutex before requesting resources
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/misc/resourceprovider.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index f3cd1eccdc79..aaca38ccd399 100644
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: resourceprovider.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: tra $ $Date: 2001-08-10 12:28:56 $
+ * last change: $Author: tra $ $Date: 2001-08-24 07:18:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,6 +75,14 @@
#include "resourceprovider.hxx"
#endif
+#ifndef _VOS_MUTEX_HXX_
+#include <vos/mutex.hxx>
+#endif
+
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
#ifndef _TOOLS_RESMGR_HXX
#include <tools/resmgr.hxx>
#endif
@@ -196,6 +204,8 @@ public:
String aResString;
OUString aResOUString;
+ const ::vos::OGuard aGuard( Application::GetSolarMutex() );
+
try
{
OSL_ASSERT( m_ResMgr );