diff options
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/app.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 6a59eee1f002..da0d92730423 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -161,6 +161,8 @@ static oslSignalHandler pSignalHandler = 0; namespace { +#if HAVE_FEATURE_EXTENSIONS + void removeTree(OUString const & url) { osl::Directory dir(url); osl::FileBase::RC rc = dir.open(); @@ -320,6 +322,8 @@ bool cleanExtensionCache() { return true; } +#endif + bool shouldLaunchQuickstart() { bool bQuickstart = Desktop::GetCommandLineArgs().IsQuickstart(); @@ -587,7 +591,9 @@ void Desktop::Init() SAL_INFO( "desktop.app", "desktop (cd100003) ::Desktop::Init" ); SetBootstrapStatus(BS_OK); +#if HAVE_FEATURE_EXTENSIONS m_bCleanedExtensionCache = cleanExtensionCache(); +#endif // We need to have service factory before going further, but see fdo#37195. // Doing this will mmap common.rdb, making it not overwritable on windows, |