remove unused MOVEDOCKINGWINDOW from SfxDockingConfig enum

Change-Id: I457596ed438b6c2173f25136bb8a99730b8f3a48
This commit is contained in:
Noel Grandin
2017-02-14 16:02:22 +02:00
parent 2a89b42e7d
commit 7f309cf37b
2 changed files with 2 additions and 5 deletions

View File

@@ -1698,7 +1698,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild,
break; break;
} }
case SfxDockingConfig::MOVEDOCKINGWINDOW :
case SfxDockingConfig::ALIGNDOCKINGWINDOW : case SfxDockingConfig::ALIGNDOCKINGWINDOW :
case SfxDockingConfig::TOGGLEFLOATMODE: case SfxDockingConfig::TOGGLEFLOATMODE:
{ {
@@ -1736,8 +1735,7 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild,
SfxChildWindowFlags nFlags = pCW->aInfo.nFlags; SfxChildWindowFlags nFlags = pCW->aInfo.nFlags;
pCW->aInfo = pCW->pWin->GetInfo(); pCW->aInfo = pCW->pWin->GetInfo();
pCW->aInfo.nFlags |= nFlags; pCW->aInfo.nFlags |= nFlags;
if ( eConfig != SfxDockingConfig::MOVEDOCKINGWINDOW ) SaveStatus_Impl( pCW->pWin, pCW->aInfo);
SaveStatus_Impl( pCW->pWin, pCW->aInfo);
} }
break; break;

View File

@@ -142,8 +142,7 @@ enum class SfxDockingConfig
{ {
SETDOCKINGRECTS, SETDOCKINGRECTS,
ALIGNDOCKINGWINDOW, ALIGNDOCKINGWINDOW,
TOGGLEFLOATMODE, TOGGLEFLOATMODE
MOVEDOCKINGWINDOW
}; };