diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-03 12:13:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-03 16:05:09 +0100 |
commit | a61f3161a48225c4c9987b11239d76d2b0f98006 (patch) | |
tree | ed788f91cf99083176da99920211fb9978639495 /tools/source | |
parent | 775bf23fc6b314a1e1e6b4d4c34139a41d1fe690 (diff) |
At least warn when DBG_TESTSOLARMUTEX has not been set up
Change-Id: I5ae5318685ffe45bd9616d06eea21a93585715f2
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/debug/debug.cxx | 3 |
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; |