From c9afb3f5a7f713d34f70b680c5d4ab3db4044d1c Mon Sep 17 00:00:00 2001 From: Abeer Sethi Date: Thu, 12 Apr 2012 17:47:36 +0530 Subject: This incorporates the suggested changes. --- basic/source/uno/namecont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic') diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index c6ff1ba2fe48..384b19c2661b 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -298,7 +298,7 @@ void SAL_CALL NameContainer::addContainerListener( const Reference< XContainerLi throw (RuntimeException) { if( !xListener.is() ) - throw RuntimeException(); + throw RuntimeException("addContainerListener called with null xListener", static_cast< cppu::OWeakObject * >(this)); Reference< XInterface > xIface( xListener, UNO_QUERY ); maContainerListeners.addInterface( xIface ); } -- cgit