summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-24 16:37:49 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-24 16:37:49 +1000
commitadb7236edc10c1ab8d53ddd160053e378ce59189 (patch)
tree34f5240cc19a39d0a90be8bc5466bbbeae8d63fd /vcl
parent468335ccf079a36e789bd0ea3fc55dff01dd04db (diff)
vcl: remove commented out code from Window::HasFocus()
Change-Id: Ic3b1340cf6ba19d43d31570f9643ae0451e1fbac
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index d8435a8f0802..09e43ed41c72 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3111,19 +3111,6 @@ void Window::GrabFocus()
bool Window::HasFocus() 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;
-
- return (this == pFocusWin);
- */
-
return (this == ImplGetSVData()->maWinData.mpFocusWin);
}