diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index f0cdfc4915e0..317b532f0575 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1698,7 +1698,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, break; } - case SfxDockingConfig::MOVEDOCKINGWINDOW : case SfxDockingConfig::ALIGNDOCKINGWINDOW : case SfxDockingConfig::TOGGLEFLOATMODE: { @@ -1736,8 +1735,7 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, SfxChildWindowFlags nFlags = pCW->aInfo.nFlags; pCW->aInfo = pCW->pWin->GetInfo(); pCW->aInfo.nFlags |= nFlags; - if ( eConfig != SfxDockingConfig::MOVEDOCKINGWINDOW ) - SaveStatus_Impl( pCW->pWin, pCW->aInfo); + SaveStatus_Impl( pCW->pWin, pCW->aInfo); } break; diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index d526ccd14e1f..e1aab806f9d2 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -142,8 +142,7 @@ enum class SfxDockingConfig { SETDOCKINGRECTS, ALIGNDOCKINGWINDOW, - TOGGLEFLOATMODE, - MOVEDOCKINGWINDOW + TOGGLEFLOATMODE };