diff options
Diffstat (limited to 'desktop/unx/source')
-rw-r--r-- | desktop/unx/source/officeloader/officeloader.cxx | 4 | ||||
-rw-r--r-- | desktop/unx/source/start.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/desktop/unx/source/officeloader/officeloader.cxx b/desktop/unx/source/officeloader/officeloader.cxx index 53ab5a2f41c0..621555b301bf 100644 --- a/desktop/unx/source/officeloader/officeloader.cxx +++ b/desktop/unx/source/officeloader/officeloader.cxx @@ -22,7 +22,7 @@ #include <osl/process.h> #include <rtl/ustring.hxx> -#include "../../../source/inc/exithelper.hxx" +#include "../../../source/inc/exithelper.h" using namespace desktop; using ::rtl::OUString; @@ -83,7 +83,7 @@ SAL_IMPLEMENT_MAIN() if ( info.Fields & osl_Process_EXITCODE ) { exitcode = info.Code; - bRestart = (ExitHelper::E_CRASH_WITH_RESTART == exitcode || ExitHelper::E_NORMAL_RESTART == exitcode); + bRestart = (EXITHELPER_CRASH_WITH_RESTART == exitcode || EXITHELPER_NORMAL_RESTART == exitcode); } else break; diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index 9ec7341d7b9e..7366a9323a32 100644 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -50,6 +50,7 @@ #include <sal/main.h> #include "args.h" +#include "exithelper.h" #include "splashx.h" #define PIPEDEFAULTPATH "/tmp" @@ -927,14 +928,14 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv ) status = child_get_exit_code(info); g_pProcess = 0; // reset switch (status) { - case 79: // re-start with just -env: parameters + case EXITHELPER_CRASH_WITH_RESTART: // re-start with just -env: parameters #if OSL_DEBUG_LEVEL > 0 fprintf (stderr, "oosplash: re-start with just -env: params !\n"); #endif bRestart = sal_True; bAllArgs = sal_False; break; - case 81: // re-start with all arguments + case EXITHELPER_NORMAL_RESTART: // re-start with all arguments #if OSL_DEBUG_LEVEL > 0 fprintf (stderr, "oosplash: re-start with all params !\n"); #endif |