From b1f0e0298c71475a0d8bc17976cb7ae39e3acb93 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 8 Nov 2010 16:17:47 +0100 Subject: Restart soffice.bin when necessary. In some cases, like when the migration is in progress, or when new extensions are registered, soffice.bin dies with a 'restart' me status. This implements the correct handling of this state in oosplash.bin. --- desktop/unx/splash/unxsplash.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'desktop/unx/splash') diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx index 7db15a898777..6c1501416322 100644 --- a/desktop/unx/splash/unxsplash.cxx +++ b/desktop/unx/splash/unxsplash.cxx @@ -84,7 +84,12 @@ void SAL_CALL UnxSplashScreen::end() void SAL_CALL UnxSplashScreen::reset() throw ( RuntimeException ) { - // TODO? +#if OSL_DEBUG_LEVEL > 1 + fprintf( stderr, "UnxSplashScreen::reset()\n" ); +#endif + + fprintf( m_pOutFd, "restart\n" ); + fflush( m_pOutFd ); } void SAL_CALL UnxSplashScreen::setText( const OUString& /*aText*/ ) -- cgit