summaryrefslogtreecommitdiff
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
commit1aa0150844d37e28cf0b420cbc60a96ad478edbe (patch)
tree87b075792c5c2c90d14e86ca753d9a2f26ddb5a2
parentfd0486d9f4f962da10f872cc465f086c8577c781 (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 )
-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 77361efb40..aeebe8919c 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();
}