diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:08:50 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:18 +0100 |
commit | 0c35d637f776a16ca66eaa675cb8bcb35b217e05 (patch) | |
tree | d4bc00bc7b1dcb0676eb463f212aca70a0e474fe /vcl/win | |
parent | 65e002dbe7552b34936e736ac8bc6b07da3e5574 (diff) |
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/app/salinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx index 0ecda3dc2427..5e3999e83d7b 100644 --- a/vcl/win/source/app/salinst.cxx +++ b/vcl/win/source/app/salinst.cxx @@ -799,7 +799,7 @@ LRESULT CALLBACK SalComWndProc( HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lPar //in the structure (GetWindowPtr()). if (DestroyWindow((HWND)lParam) == 0) { - OSL_ENSURE(0, "DestroyWindow failed!"); + OSL_FAIL("DestroyWindow failed!"); //Failure: We remove the SalFrame from the window structure. So we avoid that // the window structure may contain an invalid pointer, once the SalFrame is deleted. SetWindowPtr((HWND)lParam, 0); |