From 62892c5cacd0b26f35e567f5a95867a15c807584 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 30 Sep 2011 16:25:18 +0300 Subject: Kill unused SalFrameWndProcA() function --- vcl/win/source/window/salframe.cxx | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'vcl/win') 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; -- cgit