summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}