[Libreoffice-commits] .: sal/cppunittester
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Feb 18 08:44:05 PST 2011
sal/cppunittester/cppunittester.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit b04cfea4898d5932365421928a11f44ea5e9f40d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 18 16:35:46 2011 +0000
crash without built-in report dialog on windows
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index 0bbd0ba..723f629 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -46,6 +46,10 @@
#include "sal/main.h"
SAL_IMPLEMENT_MAIN() {
+#ifdef WNT
+ _set_abort_behavior(0, _WRITE_ABORT_MSG);
+#endif
+
if (rtl_getAppCommandArgCount() < 1) {
std::cerr << "Usage: cppunittester <shared-library-path>" << std::endl;
return EXIT_FAILURE;
More information about the Libreoffice-commits
mailing list