From 7f309cf37b97f7cc86b66c4c3ffe61b7563825d0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Feb 2017 16:02:22 +0200 Subject: [PATCH] remove unused MOVEDOCKINGWINDOW from SfxDockingConfig enum Change-Id: I457596ed438b6c2173f25136bb8a99730b8f3a48 --- sfx2/source/appl/workwin.cxx | 4 +--- sfx2/source/inc/workwin.hxx | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) 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 };