summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r--vcl/source/window/toolbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 55a0a2fb0f56..c5f07b500868 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -4631,7 +4631,7 @@ bool ToolBox::Docking( const Point& rPos, Rectangle& rRect )
}
Rectangle aIntersection = maOutDockRect.GetIntersection( aDockingRect );
- if ( !aIntersection.IsEmpty() && !IsDockingPrevented() )
+ if ( !aIntersection.IsEmpty() )
{
Rectangle aInRect = maInDockRect;
Size aDockSize;