summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-17 15:03:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-17 15:03:50 +0200
commit2d1675c3adbd3f3ff4b0d6815c88938ed775b9b2 (patch)
treed5b908b5fc0c764011f11acd3b71b1e3a677258f
parent3d3293144b0e0d2d28136b1b2c7154d6352463b8 (diff)
The getSupportedServiceNames implementations will already take care
Change-Id: I0c7ae8e0393f069259b943e04368e874abdf8386
-rw-r--r--basic/source/uno/namecont.cxx1
-rw-r--r--configmgr/source/access.cxx5
2 files changed, 1 insertions, 5 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index fa71d3615b48..5ad7de4db706 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2971,7 +2971,6 @@ void SAL_CALL SfxLibraryContainer::broadcastVBAScriptEvent( sal_Int32 nIdentifie
sal_Bool SAL_CALL SfxLibraryContainer::supportsService( const OUString& _rServiceName )
throw (RuntimeException)
{
- LibraryContainerMethodGuard aGuard( *this );
return cppu::supportsService(this, _rServiceName);
}
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 7ee8a033f32d..2b047dffd757 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -72,8 +72,8 @@
#include "comphelper/sequenceasvector.hxx"
#include "cppu/unotype.hxx"
#include "cppuhelper/queryinterface.hxx"
+#include "cppuhelper/supportsservice.hxx"
#include "cppuhelper/weak.hxx"
-#include <cppuhelper/supportsservice.hxx>
#include "osl/interlck.h"
#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
@@ -222,9 +222,6 @@ OUString Access::getImplementationName() throw (css::uno::RuntimeException)
sal_Bool Access::supportsService(OUString const & ServiceName)
throw (css::uno::RuntimeException)
{
- assert(thisIs(IS_ANY));
- osl::MutexGuard g(*lock_);
- checkLocalizedPropertyAccess();
return cppu::supportsService(this, ServiceName);
}