summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-04 08:56:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-04 08:56:11 +0200
commitc9bb48386bad7d2a40e6958883328145ae439cad (patch)
tree8576ed314b2d219fdd96b8c1990f16fb70847a54 /include/comphelper
parent9865440d217d975206a3f91612f0666312bc8fd8 (diff)
Revert "new loplugin typedefparam"
This reverts commit 9865440d217d975206a3f91612f0666312bc8fd8. This is not ready to land yet, seems like the latest update of the logic reveals a bunch more places I need to fix before it can land.
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/listenernotification.hxx6
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 )
{
}