summaryrefslogtreecommitdiffstats
path: root/basic
diff options
context:
space:
mode:
authorAbeer Sethi <abeersethi.91@gmail.com>2012-04-12 17:47:36 +0530
committerStephan Bergmann <sbergman@redhat.com>2012-04-23 19:37:11 +0200
commitc9afb3f5a7f713d34f70b680c5d4ab3db4044d1c (patch)
tree0741bcd9ca4dc69b18e1a32369fc6744da85ca60 /basic
parentdoxygen warning fixes (diff)
downloadcore-c9afb3f5a7f713d34f70b680c5d4ab3db4044d1c.tar.gz
core-c9afb3f5a7f713d34f70b680c5d4ab3db4044d1c.zip
This incorporates the suggested changes.
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/namecont.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}