diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx index 9a09a883e766..8499f65be39a 100644 --- a/dbaccess/source/ui/inc/sbamultiplex.hxx +++ b/dbaccess/source/ui/inc/sbamultiplex.hxx @@ -273,9 +273,14 @@ namespace dbaui { \ sal_Int32 nLen = 0; \ ::com::sun::star::uno::Sequence< OUString > aContained = m_aListeners.getContainedTypes(); \ - const OUString* pContained = aContained.getConstArray(); \ + const OUString* pContained = aContained.getConstArray(); \ for ( sal_Int32 i=0; igetLength(); \ + { \ + ::cppu::OInterfaceContainerHelper* pListeners = m_aListeners.getContainer(*pContained); \ + if (!pListeners) \ + continue; \ + nLen += pListeners->getLength(); \ + } \ return nLen; \ } \ \