diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-10-15 12:10:21 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-10-15 12:10:21 +0000 |
commit | d9d6d52448d30f9f9b5ca092d2d017c992ecc78a (patch) | |
tree | 03cff609d097b9b65336f1d1e9ae5d4430d62390 /svtools | |
parent | INTEGRATION: CWS sb71 (1.87.6); FILE MERGED (diff) | |
download | core-d9d6d52448d30f9f9b5ca092d2d017c992ecc78a.tar.gz core-d9d6d52448d30f9f9b5ca092d2d017c992ecc78a.zip |
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.
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/svtaccessiblefactory.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
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 = |