Kaydet (Commit) 2b3b3373 authored tarafından Noel Grandin's avatar Noel Grandin

cid#736778 dereference before null check

Change-Id: I2d26b5447e06e0b0d08e45452ef5507b75a4d3ff
üst d22d2fb1
......@@ -926,7 +926,7 @@ void ToolBarManager::CreateControllers()
if (( aCommandURL == aLoadURL ) && ( !m_pToolBar->IsItemVisible(nId)))
bCreate = sal_False;
if ( !xController.is() && m_pToolBar && bCreate )
if ( !xController.is() && bCreate )
{
pController = CreateToolBoxController( m_xFrame, m_pToolBar, nId, aCommandURL );
if ( !pController )
......
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