Kaydet (Commit) 266cbbdf authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#441017 Dereference before null check

Change-Id: I3df33251d72266afb43532bee07058e691a6cf66
üst 7f8b1b58
......@@ -358,7 +358,7 @@ void SAL_CALL IMPL_SfxBaseController_CloseListenerHelper::queryClosing( const la
{
SolarMutexGuard aGuard;
SfxViewShell* pShell = m_pController->GetViewShell_Impl();
if ( m_pController != NULL && pShell )
if (pShell)
{
bool bCanClose = pShell->PrepareClose( sal_False );
if ( !bCanClose )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment