[Libreoffice-commits] core.git: dbaccess/source
Caolán McNamara
caolanm at redhat.com
Thu Oct 10 09:06:31 PDT 2013
dbaccess/source/ui/dlg/ConnectionHelper.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 541bb859332a790131ad3730fc87ec887266a18c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Oct 10 17:06:01 2013 +0100
CID#1103666 check for NULL
Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
index c50f8b4..23da1db 100644
--- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx
@@ -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) )
More information about the Libreoffice-commits
mailing list