From a61f3161a48225c4c9987b11239d76d2b0f98006 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 3 Feb 2014 12:13:17 +0100 Subject: At least warn when DBG_TESTSOLARMUTEX has not been set up Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2 --- tools/source/debug/debug.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/source') diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 81311af237cd..6f7adf81b8d3 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -1116,6 +1116,9 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam ) break; case DBG_FUNC_TESTSOLARMUTEX: + SAL_WARN_IF( + pDebugData->pDbgTestSolarMutex == 0, "tools.debug", + "no DbgTestSolarMutex function set"); if ( pDebugData->pDbgTestSolarMutex ) pDebugData->pDbgTestSolarMutex(); break; -- cgit