diff options
author | Tino Rachui <tra@openoffice.org> | 2001-08-24 06:18:40 +0000 |
---|---|---|
committer | Tino Rachui <tra@openoffice.org> | 2001-08-24 06:18:40 +0000 |
commit | 5e76e4301fdf7239802ec890dac20727deebaecb (patch) | |
tree | 709da85196a8b41b98c1bb697586afed840940aa /fpicker | |
parent | 5eb6bb2ba1716615a84be113090e758149f14fa1 (diff) |
#90832#aqcuire SolarMutex before requesting resources
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/misc/resourceprovider.cxx | 14 |
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 ); |