summaryrefslogtreecommitdiff
path: root/basic/source/uno
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-05-16 21:24:44 +0100
committerNoel Power <noel.power@novell.com>2011-05-16 21:30:04 +0100
commit8d31e039978cadcc3b333ddf5ec54acfec2ba517 (patch)
tree904add2d603a5330913833fc3ab8cbe09a79f60a /basic/source/uno
parentbf5b493104d2dd4ab964f1fcb845200eaefbbcd5 (diff)
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 )
Diffstat (limited to 'basic/source/uno')
-rw-r--r--basic/source/uno/sbservices.cxx1
1 files changed, 1 insertions, 0 deletions
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();
}