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

coverity#1297233 Dereference after null check

Change-Id: Id30e16f6f94668b578fe79eab9d8289c8914a32b
üst bbf2457a
...@@ -1239,10 +1239,10 @@ void SfxDockingWindow::FillInfo(SfxChildWinInfo& rInfo) const ...@@ -1239,10 +1239,10 @@ void SfxDockingWindow::FillInfo(SfxChildWinInfo& rInfo) const
*/ */
{ {
if ( !pMgr ) if (!pMgr || !pImp)
return; return;
if ( GetFloatingWindow() && pImp && pImp->bConstructed ) if (GetFloatingWindow() && pImp->bConstructed)
pImp->aWinState = GetFloatingWindow()->GetWindowState(); pImp->aWinState = GetFloatingWindow()->GetWindowState();
rInfo.aWinState = pImp->aWinState; rInfo.aWinState = pImp->aWinState;
......
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