summaryrefslogtreecommitdiff
path: root/desktop/unx/splash
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/unx/splash')
-rw-r--r--desktop/unx/splash/unxsplash.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/unx/splash/unxsplash.cxx b/desktop/unx/splash/unxsplash.cxx
index 3a200dd1e927..ca2b2099be63 100644
--- a/desktop/unx/splash/unxsplash.cxx
+++ b/desktop/unx/splash/unxsplash.cxx
@@ -77,6 +77,8 @@ void SAL_CALL UnxSplashScreen::end()
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "UnxSplashScreen::end()\n" );
#endif
+ if( !m_pOutFd )
+ return;
fprintf( m_pOutFd, "end\n" );
fflush( m_pOutFd );
@@ -88,6 +90,8 @@ void SAL_CALL UnxSplashScreen::reset()
#if OSL_DEBUG_LEVEL > 1
fprintf( stderr, "UnxSplashScreen::reset()\n" );
#endif
+ if( !m_pOutFd )
+ return;
fprintf( m_pOutFd, "restart\n" );
fflush( m_pOutFd );