summaryrefslogtreecommitdiff
path: root/desktop/win32
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2010-05-10 17:35:24 +0200
committerMikhail Voytenko <mav@openoffice.org>2010-05-10 17:35:24 +0200
commit367433dee46c4e5d151b6571254f7f0443dd6744 (patch)
tree9034b797300553a4dc23eed8d91695f20436deeb /desktop/win32
parent690b1faf13f182ae4bfdd9f7cf9d693dbc8db51e (diff)
jl152: #i108704# allow to restart the office
Diffstat (limited to 'desktop/win32')
-rw-r--r--desktop/win32/source/officeloader/officeloader.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx
index 40bc7e8784..2940e79f8c 100644
--- a/desktop/win32/source/officeloader/officeloader.cxx
+++ b/desktop/win32/source/officeloader/officeloader.cxx
@@ -416,7 +416,8 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
CloseHandle( aProcessInfo.hProcess );
CloseHandle( aProcessInfo.hThread );
}
- } while ( fSuccess && ::desktop::ExitHelper::E_CRASH_WITH_RESTART == dwExitCode );
+ } while ( fSuccess
+ && ( ::desktop::ExitHelper::E_CRASH_WITH_RESTART == dwExitCode || ::desktop::ExitHelper::E_NORMAL_RESTART == dwExitCode );
delete[] lpCommandLine;
return fSuccess ? dwExitCode : -1;