diff options
Diffstat (limited to 'sfx2/source/appl/shutdownicon.cxx')
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index 8f420d84395d..ef452582d980 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -637,9 +637,8 @@ bool ShutdownIcon::GetAutostart( ) { #if defined MACOSX return true; -#else +#elif defined ENABLE_QUICKSTART_APPLET bool bRet = false; -#ifdef ENABLE_QUICKSTART_APPLET OUString aShortcut( getShortcutName() ); OUString aShortcutUrl; osl::File::getFileURLFromSystemPath( aShortcut, aShortcutUrl ); @@ -650,8 +649,9 @@ bool ShutdownIcon::GetAutostart( ) f.close(); bRet = true; } -#endif // ENABLE_QUICKSTART_APPLET return bRet; +#else // ENABLE_QUICKSTART_APPLET + return false; #endif } |