From 8d31e039978cadcc3b333ddf5ec54acfec2ba517 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Mon, 16 May 2011 21:24:44 +0100 Subject: maybe temporary fix for crash when accessing basic uno services OModule implementation ( in comphelper/source/misc/componentmodule.cxx ) has been changed by commit f9496177a4c942f2acc39a978a3cd65689f14d8d, it seems we need to have a registerClient call made on the module in order for it to work. Adding a BasicModuleClient instance seems to do that ( not sure though if this is a correct fix ) --- basic/source/uno/sbservices.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'basic/source/uno') diff --git a/basic/source/uno/sbservices.cxx b/basic/source/uno/sbservices.cxx index 5c4e1fc98309..5a13372b7e90 100644 --- a/basic/source/uno/sbservices.cxx +++ b/basic/source/uno/sbservices.cxx @@ -50,6 +50,7 @@ namespace basic ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if ( !bInitialized ) { + static BasicModuleClient aClient; createRegistryInfo_SfxDialogLibraryContainer(); createRegistryInfo_SfxScriptLibraryContainer(); } -- cgit