diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-24 16:45:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-24 17:18:28 +0200 |
commit | 1b40fbe41459a2231870af94a06263d89af554a6 (patch) | |
tree | 509f78e5763f55fa1db8d39d774a978fb96e82a7 /desktop/inc | |
parent | 35d474ff8c36d12e2afafee8a061745e47ef4fb0 (diff) |
fdo#53968 etc.: Fix more "doesn't start after upgrade" problems
* fdo#53968 revealed that multiple soffice.bin instances can run removeTree in
parallel. Therefore, demoted failures from exceptions to SAL_WARNs. (And
keeping fingers crossed.)
* a8cdce148c76c93c5d41820610d6e6ac175e03a7 "fdo#53655: Ignore failure to remove
directories (as happens on Windows XP)" was due to a forgotten
osl::Directory::close before calling osl::Directory::remove after all.
* UserInstallations have been seen in the wild where no extensions were
installed per-user (any longer), but user/uno_packages/cache/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/*.rdb files
contained data nevertheless. To reliably clean out any old junk,
refreshBundledExtensionsDir has been extended to cleanExtensionsCache which in
tandem with an extended Desktop::SynchronizeExtensionRepositories now cleanly
re-installs all bundled, shared, and per-user extensions after a LO upgrade.
Change-Id: Ic6b5b6c1945d76eb3a65b6cd4512a657b7a835a0
Diffstat (limited to 'desktop/inc')
-rw-r--r-- | desktop/inc/app.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 22866ef6b689..be2c55273cc9 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -199,6 +199,7 @@ class Desktop : public Application sal_Bool m_bMinimized; sal_Bool m_bInvisible; + bool m_bCleanedExtensionCache; bool m_bServicesRegistered; sal_uInt16 m_nAppEvents; BootstrapError m_aBootstrapError; |