diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-06-03 11:10:58 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-06-03 11:11:31 +0300 |
commit | 90dcb7d3269340542cfed82b4c0133451cc66829 (patch) | |
tree | 32fe7c8613767a37c3b66186228f92cb548eb011 /vcl/inc | |
parent | 4aee1237a59808cbd58c9c02870063d5a7156710 (diff) |
Clean up Windows error reporting a bit
We have comphelper::WindowsErrorString(), so use it, in SAL_WARNs,
right where an error happens. Get rid of the fairly unhelpful
ImplWriteLastError() function.
Avoid duplicated error reporting.
Change-Id: I83374a65980b7c0ffa35fc493b4fb1f2e94f0dbb
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/win/saldata.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index 79ad3fb340e1..bb630da9c2df 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -175,7 +175,6 @@ LRESULT CALLBACK SalFrameWndProcW( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM l void EmitTimerCallback(); void SalTestMouseLeave(); -void ImplWriteLastError(DWORD lastError, const char *szApiCall); long ImplHandleSalObjKeyMsg( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam ); long ImplHandleSalObjSysCharMsg( HWND hWnd, WPARAM wParam, LPARAM lParam ); |