summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-03 12:13:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-03 16:05:09 +0100
commita61f3161a48225c4c9987b11239d76d2b0f98006 (patch)
treeed788f91cf99083176da99920211fb9978639495 /tools
parent775bf23fc6b314a1e1e6b4d4c34139a41d1fe690 (diff)
At least warn when DBG_TESTSOLARMUTEX has not been set up
Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx3
1 files changed, 3 insertions, 0 deletions
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;