summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 13:16:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-17 13:10:42 +0000
commitbb674aa5503ff40a5619d1fb4c9f310da5f5c983 (patch)
treee9b6d62f258cded0a5f207609a61157c8d0ef4c2 /slideshow
parentb79cf88a048e5d8c784c97d99155104aef3d5dca (diff)
loplugin:unusedfields
Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/inc/listenercontainer.hxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/slideshow/source/inc/listenercontainer.hxx b/slideshow/source/inc/listenercontainer.hxx
index c16fa8985b52..e99daf567c8d 100644
--- a/slideshow/source/inc/listenercontainer.hxx
+++ b/slideshow/source/inc/listenercontainer.hxx
@@ -40,12 +40,6 @@ struct EmptyBase
typedef EmptyClearableGuard ClearableGuard;
};
-class MutexBase
-{
-public:
- mutable osl::Mutex maMutex;
-};
-
template< typename result_type, typename ListenerTargetT > struct FunctionApply
{
template<typename FuncT> static bool apply(
@@ -406,22 +400,6 @@ private:
};
-/** ListenerContainer variant that serialized access
-
- This ListenerContainer is safe to use in a multi-threaded
- context. It serializes access to the object, and avoids
- dead-locking by releasing the object mutex before calling
- listeners.
- */
-template< typename ListenerT,
- typename ContainerT=std::vector<ListenerT> >
-class ThreadSafeListenerContainer : public ListenerContainerBase<ListenerT,
- MutexBase,
- ContainerT>
-{
-};
-
-
/** ListenerContainer variant that does not serialize access
This ListenerContainer version is not safe to use in a