Kaydet (Commit) 2d1675c3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

The getSupportedServiceNames implementations will already take care

Change-Id: I0c7ae8e0393f069259b943e04368e874abdf8386
üst 3d329314
...@@ -2971,7 +2971,6 @@ void SAL_CALL SfxLibraryContainer::broadcastVBAScriptEvent( sal_Int32 nIdentifie ...@@ -2971,7 +2971,6 @@ void SAL_CALL SfxLibraryContainer::broadcastVBAScriptEvent( sal_Int32 nIdentifie
sal_Bool SAL_CALL SfxLibraryContainer::supportsService( const OUString& _rServiceName ) sal_Bool SAL_CALL SfxLibraryContainer::supportsService( const OUString& _rServiceName )
throw (RuntimeException) throw (RuntimeException)
{ {
LibraryContainerMethodGuard aGuard( *this );
return cppu::supportsService(this, _rServiceName); return cppu::supportsService(this, _rServiceName);
} }
......
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
#include "comphelper/sequenceasvector.hxx" #include "comphelper/sequenceasvector.hxx"
#include "cppu/unotype.hxx" #include "cppu/unotype.hxx"
#include "cppuhelper/queryinterface.hxx" #include "cppuhelper/queryinterface.hxx"
#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx" #include "cppuhelper/weak.hxx"
#include <cppuhelper/supportsservice.hxx>
#include "osl/interlck.h" #include "osl/interlck.h"
#include "osl/mutex.hxx" #include "osl/mutex.hxx"
#include "rtl/ref.hxx" #include "rtl/ref.hxx"
...@@ -222,9 +222,6 @@ OUString Access::getImplementationName() throw (css::uno::RuntimeException) ...@@ -222,9 +222,6 @@ OUString Access::getImplementationName() throw (css::uno::RuntimeException)
sal_Bool Access::supportsService(OUString const & ServiceName) sal_Bool Access::supportsService(OUString const & ServiceName)
throw (css::uno::RuntimeException) throw (css::uno::RuntimeException)
{ {
assert(thisIs(IS_ANY));
osl::MutexGuard g(*lock_);
checkLocalizedPropertyAccess();
return cppu::supportsService(this, ServiceName); return cppu::supportsService(this, ServiceName);
} }
......
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