diff options
Diffstat (limited to 'include/comphelper/listenernotification.hxx')
-rw-r--r-- | include/comphelper/listenernotification.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/comphelper/listenernotification.hxx b/include/comphelper/listenernotification.hxx index a92ea7ecd04b..cadb85297d8f 100644 --- a/include/comphelper/listenernotification.hxx +++ b/include/comphelper/listenernotification.hxx @@ -216,10 +216,14 @@ namespace comphelper /** is a specialization of OListenerContainer which saves you some additional type casts, by making the required listener and event types template arguments. */ - template< class ListenerClass, class EventClass > + template< class LISTENER, class EVENT > class OListenerContainerBase : public OListenerContainer { public: + typedef LISTENER ListenerClass; + typedef EVENT EventClass; + + public: OListenerContainerBase( ::osl::Mutex& _rMutex ) : OListenerContainer( _rMutex ) { } |