diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-02 18:10:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-02 18:26:39 +0200 |
commit | 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 (patch) | |
tree | e5a9ee88b2e11c00060cc8f8e1e9d2d77b5c2f60 /desktop/source/deployment/manager/dp_extensionmanager.hxx | |
parent | 85a8a72067c4e13f3bddbe11e0899702202f4c4f (diff) |
fdo#53006 Force reinstall of all bundled extensions on upgrade
...as the per-user data about bundled extensions can otherwise contain stale
$BUNDLED_EXTENSIONS_PREREG references if the old installation used
share/prereg/bundled/, the new one does not (cf. the fixing for fdo#51252 "LO
cannot start (reports runtime error with Visual C++ Runtime Library)"), and a
bundled extension did not change version.
It is safe to tie this behavior to the existing "force" parameter of
dp_misc::syncRepositories, as the only place that calls it with force=true is
the call to Desktop::SynchronizeExtensionRepositories(newInst) in Desktop::Main,
where newInst=true is the relevant condition for this behavior, too.
As stated in XExtensionManager.idl, "this [...] can go again once no exisiting
UserInstallation's user/extensions/bundled/ data can contain any
$BUNDLED_EXTENSIONS_PREREG references any longer."
Change-Id: I630dec8f2d20282ee47c65ac61ed2c9b062448e1
Diffstat (limited to 'desktop/source/deployment/manager/dp_extensionmanager.hxx')
-rw-r--r-- | desktop/source/deployment/manager/dp_extensionmanager.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index 800d91f437b6..05fcde825fbf 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -193,6 +193,7 @@ public: css::uno::RuntimeException); virtual sal_Bool SAL_CALL synchronize( + sal_Bool forceBundled, css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel, css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv ) throw (css::deployment::DeploymentException, |