From d9d6d52448d30f9f9b5ca092d2d017c992ecc78a Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Mon, 15 Oct 2007 12:10:21 +0000 Subject: INTEGRATION: CWS sb71 (1.3.16); FILE MERGED 2007/08/23 19:19:09 sb 1.3.16.2: RESYNC: (1.3-1.4); FILE MERGED 2007/07/23 11:34:14 sb 1.3.16.1: #i75466# Use osl_loadModuleRelative when loading with a relative path. --- svtools/source/misc/svtaccessiblefactory.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'svtools') diff --git a/svtools/source/misc/svtaccessiblefactory.cxx b/svtools/source/misc/svtaccessiblefactory.cxx index 9c5ac0c51c4c..048ea641e697 100644 --- a/svtools/source/misc/svtaccessiblefactory.cxx +++ b/svtools/source/misc/svtaccessiblefactory.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svtaccessiblefactory.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2007-07-18 10:04:42 $ + * last change: $Author: vg $ $Date: 2007-10-15 13:10:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -253,6 +253,8 @@ namespace svt } //-------------------------------------------------------------------- + extern "C" { static void SAL_CALL thisModule() {} } + void AccessibleFactoryAccess::ensureInitialized() { if ( m_bInitialized ) @@ -270,7 +272,7 @@ namespace svt const ::rtl::OUString sModuleName = ::rtl::OUString::createFromAscii( SVLIBRARY( "acc" ) ); - s_hAccessibleImplementationModule = osl_loadModule( sModuleName.pData, 0 ); + s_hAccessibleImplementationModule = osl_loadModuleRelative( &thisModule, sModuleName.pData, 0 ); if ( s_hAccessibleImplementationModule != NULL ) { const ::rtl::OUString sFactoryCreationFunc = -- cgit