summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-07 14:44:48 +0200
committerNoel Grandin <noel@peralex.com>2013-06-10 10:20:45 +0200
commit2cb247a12d682d7cda0483570b38b4469c360a94 (patch)
treeead87d5749cc9064184b534e856e7556ff107c86 /include
parent177f01b9fe7ef0d4ea08b5c6fb8afa82a51c8d1d (diff)
fix file and lineno info for DBG_UNHANDLED_EXCEPTION
which I broke in commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Ic30e985cc356d81013ced1ce74ec6c78469d9882
Diffstat (limited to 'include')
-rw-r--r--include/tools/diagnose_ex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index 4c271939b643..50a400d39313 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -42,7 +42,7 @@
#include <typeinfo>
#include <tools/toolsdllapi.h>
- TOOLS_DLLPUBLIC void DbgUnhandledException(const ::com::sun::star::uno::Any& caughtException, const char* currentFunction);
+ TOOLS_DLLPUBLIC void DbgUnhandledException(const ::com::sun::star::uno::Any& caughtException, const char* currentFunction, const char* fileAndLineNo);
/** reports a caught UNO exception via OSL diagnostics
@@ -50,7 +50,7 @@
handling is not correct ....
*/
#define DBG_UNHANDLED_EXCEPTION() \
- DbgUnhandledException( ::cppu::getCaughtException(), BOOST_CURRENT_FUNCTION);
+ DbgUnhandledException( ::cppu::getCaughtException(), BOOST_CURRENT_FUNCTION, SAL_DETAIL_WHERE);
#else // OSL_DEBUG_LEVEL
#define DBG_UNHANDLED_EXCEPTION()