Kaydet (Commit) f8e1d243 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Fridrich Štrba

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.
üst 20439a8d
...@@ -417,8 +417,7 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) ...@@ -417,8 +417,7 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
CloseHandle( aProcessInfo.hProcess ); CloseHandle( aProcessInfo.hProcess );
CloseHandle( aProcessInfo.hThread ); CloseHandle( aProcessInfo.hThread );
} }
} while ( fSuccess } while ( false );
&& ( ::desktop::ExitHelper::E_CRASH_WITH_RESTART == dwExitCode || ::desktop::ExitHelper::E_NORMAL_RESTART == dwExitCode ));
delete[] lpCommandLine; delete[] lpCommandLine;
return fSuccess ? dwExitCode : -1; return fSuccess ? dwExitCode : -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment