summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/inc/unoidl/unoidl.hxx2
-rw-r--r--unoidl/source/unoidl.cxx5
2 files changed, 1 insertions, 6 deletions
diff --git a/unoidl/inc/unoidl/unoidl.hxx b/unoidl/inc/unoidl/unoidl.hxx
index 203df47be94c..5597227c16e0 100644
--- a/unoidl/inc/unoidl/unoidl.hxx
+++ b/unoidl/inc/unoidl/unoidl.hxx
@@ -15,7 +15,6 @@
#include <cassert>
#include <vector>
-#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
#include "rtl/ustring.hxx"
#include "sal/types.h"
@@ -624,7 +623,6 @@ public:
private:
virtual SAL_DLLPRIVATE ~Manager() throw ();
- mutable osl::Mutex mutex_;
std::vector< rtl::Reference< Provider > > providers_;
};
diff --git a/unoidl/source/unoidl.cxx b/unoidl/source/unoidl.cxx
index 07aabcd70c46..0ffeb6bdd014 100644
--- a/unoidl/source/unoidl.cxx
+++ b/unoidl/source/unoidl.cxx
@@ -11,7 +11,6 @@
#include <vector>
-#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
#include "rtl/ustring.hxx"
#include "unoidl/legacyprovider.hxx"
@@ -75,13 +74,11 @@ rtl::Reference< Provider > loadProvider(
void Manager::addProvider(rtl::Reference< Provider > const & provider) {
assert(provider.is());
- osl::MutexGuard g(mutex_);
providers_.push_back(provider);
}
rtl::Reference< Entity > Manager::findEntity(rtl::OUString const & name) const {
- //TODO: caching? (here or in cppuhelper::TypeManager?)
- osl::MutexGuard g(mutex_);
+ //TODO: add caching
for (std::vector< rtl::Reference< Provider > >::const_iterator i(
providers_.begin());
i != providers_.end(); ++i)