summaryrefslogtreecommitdiff
path: root/desktop/unx/splash
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-11-08 16:17:47 +0100
committerJan Holesovsky <kendy@suse.cz>2010-11-08 16:21:04 +0100
commitb1f0e0298c71475a0d8bc17976cb7ae39e3acb93 (patch)
tree52f68b2128cfd56b9909dd6fbc7347c5427220c8 /desktop/unx/splash
parent164ac84e28df50911a8c20f78119d05e21086c6c (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.cxx7
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*/ )