summaryrefslogtreecommitdiff
path: root/desktop/inc/app.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-01 13:43:35 +0100
committerAndras Timar <atimar@suse.com>2011-09-07 11:27:13 +0200
commit53714706ae6c8dad65e7dfed124c065fea1e10f9 (patch)
tree28a063866eea954147a2422f4cfac5c85dda6281 /desktop/inc/app.hxx
parent05e819b26a47089f56c1084302d4afcff3f66de7 (diff)
Resolves: fdo#37195 CreateProcessServiceFactory can't happen before sync
If CreateProcessServiceFactory is called, then common.rdb of "Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" is opened mmapped On a new start of an LibreOffice which wants to synchronize new config over an old config, then it will want do a copy of "install/share/prereg/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" over "Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" which will fail on windows with error 1224, i.e. ERROR_USER_MAPPED_FILE That aborts the copy_bundled_recursive copy, leaving an old config pointing to the old location of dictionaries. So for windows at least, CreateProcessServiceFactory shouldn't happen before copy_bundled_recursive. Signed-off-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'desktop/inc/app.hxx')
-rw-r--r--desktop/inc/app.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 7f9a7efde4..e13283d788 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -139,11 +139,11 @@ class Desktop : public Application
void SetSplashScreenText( const ::rtl::OUString& rText );
void SetSplashScreenProgress( sal_Int32 );
- void CreateProcessServiceFactory();
+ static void ensureProcessServiceFactory();
private:
// Bootstrap methods
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > CreateApplicationServiceManager();
+ static ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > CreateApplicationServiceManager();
void RegisterServices( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xSMgr );
void DeregisterServices();