summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-21 15:51:58 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-21 20:05:45 +0200
commit493cd5268bb634ff717d8117e33ea7565321667e (patch)
treed9b857c511da0afa5b2ea97512cf9dfb235422c6 /comphelper
parent65fce1128cf99c91c9847d613f11fc9ea2325e08 (diff)
remove pointless EventListeners typedef
Change-Id: I9cb8ea746c87b394c4c5993de14f692ea018c558
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/accessibleeventnotifier.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx
index cafe9795bbcb..b938aa55f3af 100644
--- a/comphelper/source/misc/accessibleeventnotifier.cxx
+++ b/comphelper/source/misc/accessibleeventnotifier.cxx
@@ -39,11 +39,10 @@ namespace
typedef ::std::pair< AccessibleEventNotifier::TClientId,
AccessibleEventObject > ClientEvent;
- typedef ::cppu::OInterfaceContainerHelper EventListeners;
- typedef ::std::map< AccessibleEventNotifier::TClientId, EventListeners*,
+ typedef ::std::map< AccessibleEventNotifier::TClientId,
+ ::cppu::OInterfaceContainerHelper*,
::std::less< AccessibleEventNotifier::TClientId > > ClientMap;
-
struct lclMutex
: public rtl::Static< ::osl::Mutex, lclMutex > {};
struct Clients
@@ -132,7 +131,8 @@ namespace comphelper
TClientId nNewClientId = generateId( );
// the event listeners for the new client
- EventListeners* pNewListeners = new EventListeners( lclMutex::get() );
+ ::cppu::OInterfaceContainerHelper *const pNewListeners =
+ new ::cppu::OInterfaceContainerHelper( lclMutex::get() );
// note that we're using our own mutex here, so the listener containers for all
// our clients share this same mutex.
// this is a reminiscense to the days where the notifier was asynchronous. Today this is
@@ -164,7 +164,7 @@ namespace comphelper
void AccessibleEventNotifier::revokeClientNotifyDisposing( const TClientId _nClient,
const Reference< XInterface >& _rxEventSource ) SAL_THROW( ( ) )
{
- EventListeners * pListeners(0);
+ ::cppu::OInterfaceContainerHelper* pListeners(0);
{
// rhbz#1001768 drop the mutex before calling disposeAndClear