diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:55:11 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 20:55:11 +0000 |
commit | 72d72e8a0c5d53f4c6fc8d4754b9700497f016dc (patch) | |
tree | 099928bfb5e520664608cfb91eba7222fe7336a6 /javaunohelper/source | |
parent | 1afd2389faf34af37ac6594827459e1f5815965c (diff) |
INTEGRATION: CWS warnings01 (1.3.8); FILE MERGED
2005/09/23 02:50:54 sb 1.3.8.2: RESYNC: (1.3-1.4); FILE MERGED
2005/09/09 12:44:17 sb 1.3.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'javaunohelper/source')
-rw-r--r-- | javaunohelper/source/preload.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/javaunohelper/source/preload.cxx b/javaunohelper/source/preload.cxx index 8f5c3d4b2b5a..2447eeb536ce 100644 --- a/javaunohelper/source/preload.cxx +++ b/javaunohelper/source/preload.cxx @@ -4,9 +4,9 @@ * * $RCSfile: preload.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:42:57 $ + * last change: $Author: hr $ $Date: 2006-06-19 21:55:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -82,18 +82,21 @@ static bool inited_juhx( JNIEnv * jni_env ) { OUString symbol = OUSTR("Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo"); - s_writeInfo = (fptr_writeInfo)osl_getSymbol( hModule, symbol.pData ); + s_writeInfo = (fptr_writeInfo)osl_getFunctionSymbol( + hModule, symbol.pData ); symbol = OUSTR("Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory"); - s_getFactory = (fptr_getFactory)osl_getSymbol( hModule, symbol.pData ); + s_getFactory = (fptr_getFactory)osl_getFunctionSymbol( + hModule, symbol.pData ); symbol = OUSTR("Java_com_sun_star_comp_helper_RegistryServiceFactory_createRegistryServiceFactory"); s_createRegistryServiceFactory = - (fptr_createRegistryServiceFactory)osl_getSymbol( hModule, symbol.pData ); + (fptr_createRegistryServiceFactory)osl_getFunctionSymbol( + hModule, symbol.pData ); symbol = OUSTR("Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap"); s_bootstrap = - (fptr_bootstrap)osl_getSymbol( hModule, symbol.pData ); + (fptr_bootstrap)osl_getFunctionSymbol( hModule, symbol.pData ); if (0 == s_writeInfo || 0 == s_getFactory || |