Check non-NULLness before use
Change-Id: Iec3809b458052fd746596bf3138ce6dd9d155f9f
This commit is contained in:
@@ -254,7 +254,8 @@ namespace svxform
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "svx", "Ocke.Janssen@sun.com", "NavigatorTreeModel::Clear" );
|
||||
Reference< css::form::XForms > xForms( GetForms());
|
||||
xForms->removeContainerListener((XContainerListener*)m_pPropChangeList);
|
||||
if(xForms.is())
|
||||
xForms->removeContainerListener((XContainerListener*)m_pPropChangeList);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// RootList loeschen
|
||||
|
Reference in New Issue
Block a user