From 4ca9f864673d27730253ac6498f38901d711dd21 Mon Sep 17 00:00:00 2001 From: Abeer Sethi Date: Thu, 12 Apr 2012 00:28:10 +0530 Subject: [PATCH] Author: Abeer Sethi (abeersethi@gmail.com) Date: Thur Apr 12 00:29 2012 +0530 Fixes bug 42982 --- basic/source/uno/namecont.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index a9307d2..4142ef3 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -300,7 +300,7 @@ void SAL_CALL NameContainer::addContainerListener( const Reference< XContainerLi throw (RuntimeException) { if( !xListener.is() ) - throw RuntimeException(); + throw RuntimeException(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("XListener is not equal to 1")), static_cast< cppu::OWeakObject * >(this)); Reference< XInterface > xIface( xListener, UNO_QUERY ); maContainerListeners.addInterface( xIface ); } -- 1.7.5.4