Kaydet (Commit) 80cb5340 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

simplify

Change-Id: Ifb801f04845934ce98f346bd46a81e9bf9d0ba89
üst ad28ffaa
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
#include <list> #include <list>
#include <comphelper/solarmutex.hxx> #include <vcl/svapp.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
class SwView; class SwView;
...@@ -42,7 +42,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3 ...@@ -42,7 +42,7 @@ class SwXDispatchProviderInterceptor : public cppu::WeakImplHelper3
class DispatchMutexLock_Impl class DispatchMutexLock_Impl
{ {
//::osl::MutexGuard aGuard; #102295# solar mutex has to be used currently //::osl::MutexGuard aGuard; #102295# solar mutex has to be used currently
osl::Guard< comphelper::SolarMutex > aGuard; SolarMutexGuard aGuard;
DispatchMutexLock_Impl(); DispatchMutexLock_Impl();
public: public:
DispatchMutexLock_Impl(SwXDispatchProviderInterceptor&); DispatchMutexLock_Impl(SwXDispatchProviderInterceptor&);
......
...@@ -380,8 +380,7 @@ const sal_Char* SwXDispatch::GetDBChangeURL() ...@@ -380,8 +380,7 @@ const sal_Char* SwXDispatch::GetDBChangeURL()
} }
SwXDispatchProviderInterceptor::DispatchMutexLock_Impl::DispatchMutexLock_Impl( SwXDispatchProviderInterceptor::DispatchMutexLock_Impl::DispatchMutexLock_Impl(
SwXDispatchProviderInterceptor& ) : SwXDispatchProviderInterceptor& )
aGuard(Application::GetSolarMutex())
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment