diff options
Diffstat (limited to 'vcl/win/source/app')
-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); |