summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/dockwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 8b4b8f35fdc6..1b47bbe83f07 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1239,10 +1239,10 @@ void SfxDockingWindow::FillInfo(SfxChildWinInfo& rInfo) const
*/
{
- if ( !pMgr )
+ if (!pMgr || !pImp)
return;
- if ( GetFloatingWindow() && pImp && pImp->bConstructed )
+ if (GetFloatingWindow() && pImp->bConstructed)
pImp->aWinState = GetFloatingWindow()->GetWindowState();
rInfo.aWinState = pImp->aWinState;