diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-09 18:14:46 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-09-10 20:14:50 +1000 |
commit | 64f186cfda29d3d92c0ebd9c4ee7992898a00134 (patch) | |
tree | 179b4dff4415521a87b6102d10dcfe15e39962e1 | |
parent | d5d6efe7331052634e230cbbac83eea1959f27e8 (diff) |
vcl: remove dead code from brdwin.cxx
Change-Id: I97d5a8dc85fe77c6bf0235425db0a7b9e42ff869
-rw-r--r-- | vcl/source/window/brdwin.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index 84794f470c3a..a1a016577db3 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -736,21 +736,6 @@ bool ImplBorderWindowView::ImplTracking( ImplBorderFrameData* pData, const Track } else { - /* - // adjusting mousepos not required, we allow the whole screen (no desktop anymore...) - Point aFrameMousePos = pBorderWindow->ImplOutputToFrame( aMousePos ); - Size aFrameSize = pBorderWindow->ImplGetFrameWindow()->GetOutputSizePixel(); - if ( aFrameMousePos.X() < 0 ) - aFrameMousePos.X() = 0; - if ( aFrameMousePos.Y() < 0 ) - aFrameMousePos.Y() = 0; - if ( aFrameMousePos.X() > aFrameSize.Width()-1 ) - aFrameMousePos.X() = aFrameSize.Width()-1; - if ( aFrameMousePos.Y() > aFrameSize.Height()-1 ) - aFrameMousePos.Y() = aFrameSize.Height()-1; - aMousePos = pBorderWindow->ImplFrameToOutput( aFrameMousePos ); - */ - aMousePos.X() -= pData->maMouseOff.X(); aMousePos.Y() -= pData->maMouseOff.Y(); @@ -918,12 +903,6 @@ OUString ImplBorderWindowView::ImplRequestHelp( ImplBorderFrameData* pData, nHelpId = SV_HELPTEXT_MAXIMIZE; rHelpRect = pData->maDockRect; } - /* no help string available - else if ( nHitTest & BORDERWINDOW_HITTEST_MENU ) - { - nHelpId = SV_HELPTEXT_MENU; - rHelpRect = pData->maMenuRect; - }*/ else if ( nHitTest & BORDERWINDOW_HITTEST_HIDE ) { nHelpId = SV_HELPTEXT_MINIMIZE; |