CID#1103666 check for NULL

Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
This commit is contained in:
Caolán McNamara
2013-10-10 17:06:01 +01:00
parent 97f864df4e
commit 541bb85933

View File

@@ -143,8 +143,8 @@ DBG_NAME(OConnectionHelper)
void OConnectionHelper::implUpdateURLDependentStates() const
{
OSL_PRECOND( m_pAdminDialog, "OConnectionHelper::implUpdateURLDependentStates: no admin dialog!" );
if ( !m_pAdminDialog )
OSL_PRECOND( m_pAdminDialog && m_pCollection, "OConnectionHelper::implUpdateURLDependentStates: no admin dialog!" );
if ( !m_pAdminDialog || !m_pCollection )
return;
if ( m_pCollection->isFileSystemBased(m_eType) )