[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 10 23:42:41 PST 2013


 vcl/source/app/dbggui.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 9b0ab09b45142bc26d51e16613d06bb415dc0d0c
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Jan 11 09:41:50 2013 +0200

    No "core dumps" on Windows, and not on iOS or Android either
    
    Change-Id: Ie5d3257d3a289856399f7a3266e3caf66831e00a

diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index ee72e02..a488516 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -1662,7 +1662,13 @@ void DbgPrintMsgBox( const char* pLine )
     }
 
     strcpy( aDbgOutBuf, pLine );
+#if defined UNX && !(defined ANDROID || defined IOS)
     strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=core dump)" );
+#elif defined _WIN32
+    strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=try to invoke debugger)" );
+#else
+    strcat( aDbgOutBuf, "\nAbort ? (Yes=abort / No=ignore / Cancel=crash)" );
+#endif
 
     SolarMessageBoxExecutor aMessageBox( String( aDbgOutBuf, RTL_TEXTENCODING_UTF8 ) );
     TimeValue aTimeout; aTimeout.Seconds = 2; aTimeout.Nanosec = 0;


More information about the Libreoffice-commits mailing list