[Libreoffice-commits] .: basic/source
Noel Power
noelp at kemper.freedesktop.org
Mon May 16 13:30:25 PDT 2011
basic/source/uno/sbservices.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1aa0150844d37e28cf0b420cbc60a96ad478edbe
Author: Noel Power <noel.power at novell.com>
Date: Mon May 16 21:24:44 2011 +0100
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 )
diff --git a/basic/source/uno/sbservices.cxx b/basic/source/uno/sbservices.cxx
index 77361ef..aeebe89 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();
}
More information about the Libreoffice-commits
mailing list