From bb674aa5503ff40a5619d1fb4c9f310da5f5c983 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Nov 2016 13:16:30 +0200 Subject: loplugin:unusedfields Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- slideshow/source/inc/listenercontainer.hxx | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'slideshow') 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 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 > -class ThreadSafeListenerContainer : public ListenerContainerBase -{ -}; - - /** ListenerContainer variant that does not serialize access This ListenerContainer version is not safe to use in a -- cgit