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

coverity#440721 Dereference after null check

Change-Id: I1a6d6f5d83f3b6c5f8d8d19b003f2e4f6976d6e9
üst 09c749cc
......@@ -61,8 +61,9 @@ SfxPartChildWnd_Impl::SfxPartChildWnd_Impl
// Create Window
pWindow = new SfxPartDockWnd_Impl( pBindings, this, pParentWnd, WB_STDDOCKWIN | WB_CLIPCHILDREN | WB_SIZEABLE | WB_3DLOOK );
eChildAlignment = SFX_ALIGN_TOP;
if ( pInfo )
pInfo->nFlags |= SFX_CHILDWIN_FORCEDOCK;
assert(pInfo);
pInfo->nFlags |= SFX_CHILDWIN_FORCEDOCK;
((SfxDockingWindow*)pWindow)->SetFloatingSize( Size( 175, 175 ) );
pWindow->SetSizePixel( Size( 175, 175 ) );
......
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