summaryrefslogtreecommitdiff
path: root/vcl/win/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/source/window')
-rw-r--r--vcl/win/source/window/salobj.cxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/vcl/win/source/window/salobj.cxx b/vcl/win/source/window/salobj.cxx
index cbaef77412d6..461d252cb5ca 100644
--- a/vcl/win/source/window/salobj.cxx
+++ b/vcl/win/source/window/salobj.cxx
@@ -103,44 +103,6 @@ WinSalFrame* ImplFindSalObjectFrame( HWND hWnd )
// -----------------------------------------------------------------------
-sal_Bool ImplInterceptChildWindowKeyDown( MSG& rMsg )
-{
- sal_Bool bResult = sal_False;
- if ( rMsg.message == WM_KEYDOWN )
- {
- wchar_t pClassName[10];
- sal_Int32 nLen = GetClassNameW( rMsg.hwnd, pClassName, 10 );
- if ( !( nLen == 9 && wcsncmp( pClassName, SAL_OBJECT_CLASSNAMEW, nLen ) == 0 ) )
- {
- // look for the first SalObject in the parent hierarchy
- HWND hWin = rMsg.hwnd;
- WinSalObject* pSalObj = NULL;
- do
- {
- hWin = ::GetParent( hWin );
- if ( hWin )
- {
- nLen = GetClassNameW( hWin, pClassName, 10 );
- if ( nLen == 9 && wcsncmp( pClassName, SAL_OBJECT_CLASSNAMEW, nLen ) == 0 )
- pSalObj = GetSalObjWindowPtr( hWin );
- }
- } while( hWin && !pSalObj );
-
- if ( pSalObj && pSalObj->mbInterceptChildWindowKeyDown && pSalObj->maSysData.hWnd )
- {
- bResult = ( 1 == ImplSendMessage( pSalObj->maSysData.hWnd, rMsg.message, rMsg.wParam, rMsg.lParam ) );
- }
- }
- }
-
- return bResult;
-}
-
-// -----------------------------------------------------------------------
-
-
-// -----------------------------------------------------------------------
-
LRESULT CALLBACK SalSysMsgProc( int nCode, WPARAM wParam, LPARAM lParam )
{
// Used for Unicode and none Unicode
@@ -630,7 +592,6 @@ WinSalObject::WinSalObject()
mhLastFocusWnd = 0;
maSysData.nSize = sizeof( SystemEnvData );
mpStdClipRgnData = NULL;
- mbInterceptChildWindowKeyDown = sal_False;
// Insert object in objectlist
mpNextObject = pSalData->mpFirstObject;
@@ -830,11 +791,4 @@ const SystemEnvData* WinSalObject::GetSystemData() const
return &maSysData;
}
-// -----------------------------------------------------------------------
-
-void WinSalObject::InterceptChildWindowKeyDown( sal_Bool bIntercept )
-{
- mbInterceptChildWindowKeyDown = bIntercept;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */