loadmodulerelative.cxx (87d2adbc) loadmodulerelative.cxx (ca2659a9)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 50 unchanged lines hidden (view full) ---

59 rtl::OUStringToOString(e.getMessage(), osl_getThreadTextEncoding()).
60 getStr());
61 //TODO: let some OSL_TRACE variant take care of text conversion?
62 return NULL;
63 }
64 return ::osl_loadModule(abs.pData, mode);
65}
66
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 50 unchanged lines hidden (view full) ---

59 rtl::OUStringToOString(e.getMessage(), osl_getThreadTextEncoding()).
60 getStr());
61 //TODO: let some OSL_TRACE variant take care of text conversion?
62 return NULL;
63 }
64 return ::osl_loadModule(abs.pData, mode);
65}
66
67oslModule SAL_CALL osl_loadAsciiModuleRelative(
68 oslGenericFunction const baseModule, const sal_Char* pRelativePathName,
69 sal_Int32 const nRtldMode)
70{
71 rtl_uString* pUniName = NULL;
72 rtl_uString_newFromAscii( &pUniName, pRelativePathName );
73 oslModule aModule = osl_loadModuleRelative( baseModule, pUniName, nRtldMode );
74 rtl_uString_release( pUniName );
67}
75}
76
77}