Kaydet (Commit) c9afb3f5 authored tarafından Abeer Sethi's avatar Abeer Sethi Kaydeden (comit) Stephan Bergmann

This incorporates the suggested changes.

üst 8d1fbba7
...@@ -298,7 +298,7 @@ void SAL_CALL NameContainer::addContainerListener( const Reference< XContainerLi ...@@ -298,7 +298,7 @@ void SAL_CALL NameContainer::addContainerListener( const Reference< XContainerLi
throw (RuntimeException) throw (RuntimeException)
{ {
if( !xListener.is() ) if( !xListener.is() )
throw RuntimeException(); throw RuntimeException("addContainerListener called with null xListener", static_cast< cppu::OWeakObject * >(this));
Reference< XInterface > xIface( xListener, UNO_QUERY ); Reference< XInterface > xIface( xListener, UNO_QUERY );
maContainerListeners.addInterface( xIface ); maContainerListeners.addInterface( xIface );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment