diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 7af2d8108501..d9ebe588ab73 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -1792,7 +1792,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, Rectangle aOuterRect( GetTopRect_Impl() ); aOuterRect.SetPos( pWorkWin->OutputToScreenPixel( aOuterRect.TopLeft() )); Rectangle aInnerRect( aOuterRect ); - sal_Bool bTbx = (eChild == SFX_CHILDWIN_OBJECTBAR); // The current affected window is included in the calculation of // the inner rectangle! @@ -1810,12 +1809,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, aInnerRect.Top() += pCli->aSize.Height(); break; - case SFX_ALIGN_TOOLBOXTOP: - // Toolbox has priority, if no higher Position - if ( bTbx && i <= nPos) - aInnerRect.Top() += pCli->aSize.Height(); - break; - case SFX_ALIGN_HIGHESTTOP: // Always performed first aInnerRect.Top() += pCli->aSize.Height(); @@ -1832,12 +1825,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, aInnerRect.Bottom() -= pCli->aSize.Height(); break; - case SFX_ALIGN_TOOLBOXBOTTOM: - // Toolbox has priority, if no higher Position - if ( bTbx && i <= nPos) - aInnerRect.Bottom() -= pCli->aSize.Height(); - break; - case SFX_ALIGN_LOWESTBOTTOM: // Always performed first aInnerRect.Bottom() -= pCli->aSize.Height(); @@ -1854,12 +1841,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, aInnerRect.Left() += pCli->aSize.Width(); break; - case SFX_ALIGN_TOOLBOXLEFT: - // Toolboxes come always last - if (bTbx && i <= nPos) - aInnerRect.Left() += pCli->aSize.Width(); - break; - case SFX_ALIGN_FIRSTLEFT: // Always performed first aInnerRect.Left() += pCli->aSize.Width(); @@ -1875,12 +1856,6 @@ void SfxWorkWindow::ConfigChild_Impl(SfxChildIdentifier eChild, aInnerRect.Right() -= pCli->aSize.Width(); break; - case SFX_ALIGN_TOOLBOXRIGHT: - // Toolboxes come always last - if (bTbx && i <= nPos) - aInnerRect.Right() -= pCli->aSize.Width(); - break; - case SFX_ALIGN_FIRSTRIGHT: // Is only counted if it is the current window if (i == nPos) |