[ooo-build-commit] .: desktop/win32
Fridrich Strba
fridrich at kemper.freedesktop.org
Tue Sep 14 05:54:49 PDT 2010
desktop/win32/source/officeloader/officeloader.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 150b71f82c682889427a3df2accee6cc44d85ccb
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Tue Sep 14 14:42:40 2010 +0200
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.
diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx
index 42a152e..5896740 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;
More information about the ooo-build-commit
mailing list