summaryrefslogtreecommitdiff
path: root/vcl/win/source/app/salinst.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-09 06:43:18 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-06-11 16:31:34 +0100
commit4282865c517f8de814696fa75d0662aba73a4624 (patch)
tree2728a30b33a211d3ad9d75838a9d844e1ecd5223 /vcl/win/source/app/salinst.cxx
parentb3a3ab05e41a34c4a9d62639993f215dd47a2ae9 (diff)
Remove unused InterceptChildWindowKeyDown
- InterceptChildWindowKeyDown never gets called - so mbInterceptChildWindowKeyDown doesn't get changed - at ImplInterceptChildWindowKeyDown a) ImplSendMessage() is never accessed b) always returns sal_False Change-Id: I2dc84c88644d19c238064ab1b7dff0a24f90dc5d
Diffstat (limited to 'vcl/win/source/app/salinst.cxx')
-rw-r--r--vcl/win/source/app/salinst.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index e80ff8092da7..f5f678b61e0b 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -651,11 +651,8 @@ void ImplSalYield( sal_Bool bWait, sal_Bool bHandleAllCurrentEvents )
{
if ( ImplPeekMessage( &aMsg, 0, 0, 0, PM_REMOVE ) )
{
- if ( !ImplInterceptChildWindowKeyDown( aMsg ) )
- {
- TranslateMessage( &aMsg );
- ImplSalDispatchMessage( &aMsg );
- }
+ TranslateMessage( &aMsg );
+ ImplSalDispatchMessage( &aMsg );
bOneEvent = bWasMsg = true;
}
@@ -667,11 +664,8 @@ void ImplSalYield( sal_Bool bWait, sal_Bool bHandleAllCurrentEvents )
{
if ( ImplGetMessage( &aMsg, 0, 0, 0 ) )
{
- if ( !ImplInterceptChildWindowKeyDown( aMsg ) )
- {
- TranslateMessage( &aMsg );
- ImplSalDispatchMessage( &aMsg );
- }
+ TranslateMessage( &aMsg );
+ ImplSalDispatchMessage( &aMsg );
}
}
}