summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-24 16:36:23 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-24 16:36:23 +1000
commit468335ccf079a36e789bd0ea3fc55dff01dd04db (patch)
tree7ca195f0f5605c160a5e735a8f03b2be5ce05972 /vcl
parent6438738f844e43f4a883beb69a4a2d144da9c31a (diff)
vcl: remove commented out code from Window::HasChildPathFocus()
Change-Id: I349f6a09ee1ee7bc66c8dd3790761cc0418948eb
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 1b5ad28f907a..d8435a8f0802 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3140,15 +3140,6 @@ void Window::SetFakeFocus( bool bFocus )
bool Window::HasChildPathFocus( bool bSystemWindow ) const
{
- // #107575#, the first floating window always has the keyboard focus, see also winproc.cxx: ImplGetKeyInputWindow()
- // task was shifted to 6.y, so its commented out
- /*
- Window* pFocusWin = ImplGetSVData()->maWinData.mpFirstFloat;
- if( pFocusWin && pFocusWin->mpWindowImpl->mbFloatWin && ((FloatingWindow *)pFocusWin)->GrabsFocus() )
- pFocusWin = pFocusWin->GetPreferredKeyInputWindow();
- else
- pFocusWin = ImplGetSVData()->maWinData.mpFocusWin;
- */
Window* pFocusWin = ImplGetSVData()->maWinData.mpFocusWin;
if ( pFocusWin )
return ImplIsWindowOrChild( pFocusWin, bSystemWindow );