From 2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 24 Apr 2012 19:16:06 +0200 Subject: Force ExtensionManager resync when the implementation changes ...as checking the lastsynchronized time-stamps can give wrong results if new and old impl use same user config and old impl is started once more after new impl is installed, in which case per-user data of bundled exts of new impl would not be regenerated, leading to inconsistencies. --- desktop/inc/app.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'desktop/inc') diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index fa4553afdc87..28b2c63d965a 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -130,12 +130,14 @@ class Desktop : public Application static sal_Bool isCrashReporterEnabled(); // first-start (ever) related methods + static bool newInstallation(); + static sal_Bool CheckExtensionDependencies(); static void DoRestartActionsIfNecessary( sal_Bool bQuickStart ); static void SetRestartState(); - void SynchronizeExtensionRepositories(); + void SynchronizeExtensionRepositories(bool force); void SetSplashScreenText( const ::rtl::OUString& rText ); void SetSplashScreenProgress( sal_Int32 ); -- cgit