summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index 32610f1fcead..82c1af73e74c 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -179,6 +179,10 @@ bool ShutdownIcon::LoadModule( osl::Module **pModule,
}
# endif // UNX
#endif // ENABLE_QUICKSTART_APPLET
+
+#if !defined( ENABLE_QUICKSTART_APPLET ) || defined( UNX )
+ // Avoid unreachable code. In the ENABLE_QUICKSTART_APPLET && !UNX
+ // case, we have already returned.
if ( pModule )
{
if ( !*pInit )
@@ -188,6 +192,7 @@ bool ShutdownIcon::LoadModule( osl::Module **pModule,
}
return true;
+#endif // !ENABLE_QUICKSTART_APPLET || UNX
}
// These two timeouts are necessary to avoid there being