You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by yd...@apache.org on 2014/02/20 13:12:46 UTC
svn commit: r1570166 - /openoffice/trunk/main/sal/osl/os2/module.c
Author: ydario
Date: Thu Feb 20 12:12:45 2014
New Revision: 1570166
URL: http://svn.apache.org/r1570166
Log:
#i118923# fix failure to show message box in release mode.
Modified:
openoffice/trunk/main/sal/osl/os2/module.c
Modified: openoffice/trunk/main/sal/osl/os2/module.c
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/osl/os2/module.c?rev=1570166&r1=1570165&r2=1570166&view=diff
==============================================================================
--- openoffice/trunk/main/sal/osl/os2/module.c (original)
+++ openoffice/trunk/main/sal/osl/os2/module.c Thu Feb 20 12:12:45 2014
@@ -120,7 +120,7 @@ oslModule SAL_CALL osl_loadModule(rtl_uS
#endif
debug_printf("osl_loadModule error %s", szError);
-#ifndef OSL_DEBUG_LEVEL
+#if (OSL_DEBUG_LEVEL==0) || !defined(OSL_DEBUG_LEVEL)
WinMessageBox(HWND_DESKTOP,HWND_DESKTOP,
szError, "Critical error: DosLoadModule failed",
0, MB_ERROR | MB_OK | MB_MOVEABLE);