diff options
-rw-r--r-- | UnoControls/source/controls/OConnectionPointContainerHelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx index 7f7626b158f4..7fbd843c7338 100644 --- a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx +++ b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: OConnectionPointContainerHelper.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-09 09:17:17 $ + * last change: $Author: hr $ $Date: 2007-07-31 16:11:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -151,7 +151,7 @@ Reference< XConnectionPoint > SAL_CALL OConnectionPointContainerHelper::queryCon // Get all elements of the container, which have the searched type. OInterfaceContainerHelper* pSpecialContainer = m_aMultiTypeContainer.getContainer( aType ); - if ( pSpecialContainer->getLength() > 0 ) + if ( pSpecialContainer && pSpecialContainer->getLength() > 0 ) { // Ready for multithreading MutexGuard aGuard( m_aSharedMutex ); |