diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:25:18 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-09-30 16:25:18 +0300 |
commit | 62892c5cacd0b26f35e567f5a95867a15c807584 (patch) | |
tree | f23746d44e32e2536169abf5e7aa1fd66738bfee /vcl | |
parent | Kill unused ImplSalUpdateStyleFontA() function (diff) | |
download | core-62892c5cacd0b26f35e567f5a95867a15c807584.tar.gz core-62892c5cacd0b26f35e567f5a95867a15c807584.zip |
Kill unused SalFrameWndProcA() function
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/win/saldata.hxx | 1 | ||||
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 28 |
2 files changed, 0 insertions, 29 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index ba9068628c8c..1126869f722b 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -219,7 +219,6 @@ void ImplSalAcquireYieldMutex( sal_uLong nCount ); sal_Bool ImplInterceptChildWindowKeyDown( MSG& rMsg ); // \\WIN\SOURCE\WINDOW\SALFRAME.CXX -LRESULT CALLBACK SalFrameWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ); LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ); // \SV\WIN\SOURCE\APP\SALTIMER.CXX #define SALTIMERPROC_RECURSIVE 0xffffffff diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 162f8dd345dc..cfe05d7735e2 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -6141,34 +6141,6 @@ LRESULT CALLBACK SalFrameWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lP return nRet; } -LRESULT CALLBACK SalFrameWndProcA( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) -{ - int bDef = TRUE; - LRESULT nRet = 0; -#ifdef __MINGW32__ - jmp_buf jmpbuf; - __SEHandler han; - if (__builtin_setjmp(jmpbuf) == 0) - { - han.Set(jmpbuf, NULL, (__SEHandler::PF)EXCEPTION_EXECUTE_HANDLER); -#else - __try - { -#endif - nRet = SalFrameWndProc( hWnd, nMsg, wParam, lParam, bDef ); - } -#ifdef __MINGW32__ - han.Reset(); -#else - __except(WinSalInstance::WorkaroundExceptionHandlingInUSER32Lib(GetExceptionCode(), GetExceptionInformation())) - { - } -#endif - if ( bDef ) - nRet = DefWindowProcA( hWnd, nMsg, wParam, lParam ); - return nRet; -} - LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ) { int bDef = TRUE; |