diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2010-09-14 14:42:40 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-14 14:42:40 +0200 |
commit | f8e1d2438199c4a76ceeb36352678c415e25272c (patch) | |
tree | 6dcedd4c5b5b68b6d008a59b99e40dac58e55a22 /desktop/win32 | |
parent | 20439a8dd19933c0fb956502c4f85dc5b92aa50d (diff) |
win32-dont-attempt-restart.diff: Don't attempt to restart OOo after crash
n#524250
Don't attempt to restart soffice.bin immediately if it crashes. At
such a restart, if the document recovery dialog is cancelled, an
empty Writer document is opened even if the user was editing some
other kind of document. Some customers are annoyed by this. And the
automatic restart doesn't work on Linux anyway, so for consistency
it doesn't hurt if we force it not to work on Windows, either.
Diffstat (limited to 'desktop/win32')
-rw-r--r-- | desktop/win32/source/officeloader/officeloader.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx index b85a72555935..1733e1f63bd5 100644 --- a/desktop/win32/source/officeloader/officeloader.cxx +++ b/desktop/win32/source/officeloader/officeloader.cxx @@ -417,8 +417,7 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) CloseHandle( aProcessInfo.hProcess ); CloseHandle( aProcessInfo.hThread ); } - } while ( fSuccess - && ( ::desktop::ExitHelper::E_CRASH_WITH_RESTART == dwExitCode || ::desktop::ExitHelper::E_NORMAL_RESTART == dwExitCode )); + } while ( false ); delete[] lpCommandLine; return fSuccess ? dwExitCode : -1; |