diff options
author | Jan Holesovsky <kendy@suse.cz> | 2010-11-08 16:17:47 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2010-11-08 16:21:04 +0100 |
commit | b1f0e0298c71475a0d8bc17976cb7ae39e3acb93 (patch) | |
tree | 52f68b2128cfd56b9909dd6fbc7347c5427220c8 /desktop/unx/splash | |
parent | 164ac84e28df50911a8c20f78119d05e21086c6c (diff) |
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.
Diffstat (limited to 'desktop/unx/splash')
-rw-r--r-- | desktop/unx/splash/unxsplash.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
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*/ ) |