diff options
author | mfe <mfe@openoffice.org> | 2001-02-19 15:34:03 +0000 |
---|---|---|
committer | mfe <mfe@openoffice.org> | 2001-02-19 15:34:03 +0000 |
commit | 30e4f477a5818a808a7a15dc2b6e1172b7ac83de (patch) | |
tree | 715f722cf90be8d63cd02448b8c894b3976c561e /sal/osl/unx/module.c | |
parent | 325d28352314b3ef31aec609fb40d01b8cd6e56a (diff) |
83978# : use current text encoding
Diffstat (limited to 'sal/osl/unx/module.c')
-rw-r--r-- | sal/osl/unx/module.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c index e07454a94d4e..79079b77dd6a 100644 --- a/sal/osl/unx/module.c +++ b/sal/osl/unx/module.c @@ -2,9 +2,9 @@ * * $RCSfile: module.c,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: pliao $ $Date: 2001-02-07 03:40:09 $ + * last change: $Author: mfe $ $Date: 2001-02-19 16:34:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -186,11 +186,13 @@ oslModule SAL_CALL osl_loadModule(rtl_uString *ustrModuleName, sal_Int32 nRtldMo rtl_uString2String( &strModuleName, rtl_uString_getStr(ustrModuleName), rtl_uString_getLength(ustrModuleName), - RTL_TEXTENCODING_UTF8, + osl_getThreadTextEncoding(), OUSTRING_TO_OSTRING_CVTFLAGS ); pszModuleName=rtl_string_getStr(strModuleName); + fprintf(stderr,"lib to load : [%s]\n",pszModuleName); + if ( strncmp(pszModuleName,"//./",4) == 0 ) pszModuleName+=3; @@ -386,7 +388,7 @@ void* SAL_CALL osl_getSymbol(oslModule Module, rtl_uString* ustrSymbolName) rtl_uString2String( &strSymbolName, rtl_uString_getStr(ustrSymbolName), rtl_uString_getLength(ustrSymbolName), - RTL_TEXTENCODING_UTF8, + osl_getThreadTextEncoding(), OUSTRING_TO_OSTRING_CVTFLAGS ); pszSymbolName = rtl_string_getStr(strSymbolName); |