From c8479bdc5b007ca5ffe1d553be3d90fb03424526 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 Oct 2015 12:22:03 +0200 Subject: convert DBG_ASSERTWARNING to SAL_WARN_IF I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d --- vcl/source/window/mouse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/window/mouse.cxx') diff --git a/vcl/source/window/mouse.cxx b/vcl/source/window/mouse.cxx index d0556a98ed75..ad6c460d6d91 100644 --- a/vcl/source/window/mouse.cxx +++ b/vcl/source/window/mouse.cxx @@ -468,7 +468,7 @@ void Window::ReleaseMouse() ImplSVData* pSVData = ImplGetSVData(); - DBG_ASSERTWARNING( pSVData->maWinData.mpCaptureWin.get() == this, + SAL_WARN_IF( pSVData->maWinData.mpCaptureWin.get() != this, "vcl", "Window::ReleaseMouse(): window doesn't have the mouse capture" ); if ( pSVData->maWinData.mpCaptureWin.get() == this ) -- cgit