summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-18 20:08:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-18 20:08:14 +0000
commitdc6b012db0b0da01659529182409cecc037e07ea (patch)
treefa09e13aeecfb684b057d091a7b0fb8e3c41bd60 /framework/source
parent6bb0121249de3a35880c19c6eb9d3b2b583fe9bc (diff)
WaE: pDockingAreaWindow unused
Diffstat (limited to 'framework/source')
-rwxr-xr-xframework/source/layoutmanager/toolbarlayoutmanager.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 8d4f643804..20e8817909 100755
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -3517,7 +3517,6 @@ throw (uno::RuntimeException)
::Rectangle aHotZoneRightDockRect( implts_calcHotZoneRect( aRightDockRect, nMagneticZone ));
Window* pContainerWindow( VCLUnoHelper::GetWindow( xContainerWindow ) );
- Window* pDockingAreaWindow( 0 );
::Point aMousePos( pContainerWindow->ScreenToOutputPixel( ::Point( e.MousePos.X, e.MousePos.Y )));
if ( aHotZoneTopDockRect.IsInside( aMousePos ))
@@ -3551,25 +3550,21 @@ throw (uno::RuntimeException)
{
aUIDockingElement.m_aDockedData.m_nDockedArea = ui::DockingArea_DOCKINGAREA_TOP;
aUIDockingElement.m_bFloating = false;
- pDockingAreaWindow = VCLUnoHelper::GetWindow( xTopDockingWindow );
}
else if ( eDockingArea == ui::DockingArea_DOCKINGAREA_BOTTOM )
{
aUIDockingElement.m_aDockedData.m_nDockedArea = ui::DockingArea_DOCKINGAREA_BOTTOM;
aUIDockingElement.m_bFloating = false;
- pDockingAreaWindow = VCLUnoHelper::GetWindow( xBottomDockingWindow );
}
else if ( eDockingArea == ui::DockingArea_DOCKINGAREA_LEFT )
{
aUIDockingElement.m_aDockedData.m_nDockedArea = ui::DockingArea_DOCKINGAREA_LEFT;
aUIDockingElement.m_bFloating = false;
- pDockingAreaWindow = VCLUnoHelper::GetWindow( xLeftDockingWindow );
}
else if ( eDockingArea == ui::DockingArea_DOCKINGAREA_RIGHT )
{
aUIDockingElement.m_aDockedData.m_nDockedArea = ui::DockingArea_DOCKINGAREA_RIGHT;
aUIDockingElement.m_bFloating = false;
- pDockingAreaWindow = VCLUnoHelper::GetWindow( xRightDockingWindow );
}
::Point aOutputPos = pContainerWindow->ScreenToOutputPixel( aTrackingRect.TopLeft() );