diff options
Diffstat (limited to 'vcl/win/source/gdi')
-rw-r--r-- | vcl/win/source/gdi/salprn.cxx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx index fbc4fd90f3f7..10bb796cdfdd 100644 --- a/vcl/win/source/gdi/salprn.cxx +++ b/vcl/win/source/gdi/salprn.cxx @@ -1406,11 +1406,9 @@ BOOL CALLBACK SalPrintAbortProc( HDC hPrnDC, int /* nError */ ) MSG aMsg; if ( ImplPeekMessage( &aMsg, 0, 0, 0, PM_REMOVE ) ) { - if ( !ImplInterceptChildWindowKeyDown( aMsg ) ) - { - TranslateMessage( &aMsg ); - ImplDispatchMessage( &aMsg ); - } + TranslateMessage( &aMsg ); + ImplDispatchMessage( &aMsg ); + i++; if ( i > 15 ) bWhile = FALSE; @@ -1597,11 +1595,8 @@ sal_Bool WinSalPrinter::StartJob( const rtl::OUString* pFileName, MSG aMsg; if ( ImplPeekMessage( &aMsg, 0, 0, 0, PM_REMOVE ) ) { - if ( !ImplInterceptChildWindowKeyDown( aMsg ) ) - { - TranslateMessage( &aMsg ); - ImplDispatchMessage( &aMsg ); - } + TranslateMessage( &aMsg ); + ImplDispatchMessage( &aMsg ); i++; if ( i > 15 ) |