diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 20:08:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-18 20:08:14 +0000 |
commit | 251734958255d80cca41345bb53c806e0d6c496d (patch) | |
tree | 65309640cf4761ed1d4c736c0b4cc1eb0cdae379 /framework/source | |
parent | 4632719f9e895b513418d2560637cea78d406ebf (diff) |
WaE: pDockingAreaWindow unused
Diffstat (limited to 'framework/source')
-rwxr-xr-x | framework/source/layoutmanager/toolbarlayoutmanager.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 0829cac71cc2..a243daf3d099 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() ); |