From 3ed36acb14026f36f1c5e64b056b28c2fe5e5ea3 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 26 Sep 2001 14:09:45 +0000 Subject: [PATCH] #65203: disambiguate --- cppuhelper/source/component.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index 8c9735fb0d91..db4936136485 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -2,9 +2,9 @@ * * $RCSfile: component.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: dbo $ $Date: 2001-06-07 11:11:29 $ + * last change: $Author: hr $ $Date: 2001-09-26 15:09:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -238,7 +238,8 @@ void OComponentHelper::addEventListener( { if (rBHelper.bDisposed || rBHelper.bInDispose) { - rxListener->disposing( EventObject( Reference::query( (XComponent *)this ) ) ); + Reference< XInterface > x( (XComponent *)this, UNO_QUERY ); + rxListener->disposing( EventObject( x ) ); } else {