At least warn when DBG_TESTSOLARMUTEX has not been set up

Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2
This commit is contained in:
Stephan Bergmann
2014-02-03 12:13:17 +01:00
parent 775bf23fc6
commit a61f3161a4

View File

@@ -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;