summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dockwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/dockwin.cxx')
-rw-r--r--sfx2/source/dialog/dockwin.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index d1b87e610f9c..327f76b0c617 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1466,15 +1466,6 @@ SfxChildAlignment SfxDockingWindow::CalcAlignment(const Point& rPos, Rectangle&
}
else
{
- if ( 0 )
- {
- // mouse touches outer border -> treated as floating mode
- eDockAlign = SFX_ALIGN_NOALIGNMENT;
- aDockingRect.SetSize( aFloatingSize );
- rRect = aDockingRect;
- return eDockAlign;
- }
-
// mouse touches inner border -> create new line
if ( eDockAlign == GetAlignment() && pImp->pSplitWin &&
pImp->nLine == pImp->pSplitWin->GetLineCount()-1 && pImp->pSplitWin->GetWindowCount(pImp->nLine) == 1 )