summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 15:11:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 15:11:00 +0000
commit377a06bf15013f93684feaff63d3428e0d497e1a (patch)
tree8c07cb88a521396a894f989456269a59d67f2391
parent41fd1aa7b18cc9719db5e1022d9f9e11a9451769 (diff)
INTEGRATION: CWS vcl80 (1.3.30); FILE MERGED
2007/07/09 08:51:29 pl 1.3.30.1: #i79362# check for NULL pointer (thanks cmc)
-rw-r--r--UnoControls/source/controls/OConnectionPointContainerHelper.cxx6
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 );