diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:32:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:51:45 +0200 |
commit | e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch) | |
tree | 8063275cabcdf32e30c37451a32d96db5929561a /javaunohelper | |
parent | d01768c31a0658c8a74e0dd3a95b2d781639d18e (diff) |
remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
Diffstat (limited to 'javaunohelper')
-rw-r--r-- | javaunohelper/source/javaunohelper.cxx | 10 | ||||
-rw-r--r-- | javaunohelper/source/vm.cxx | 3 |
2 files changed, 6 insertions, 7 deletions
diff --git a/javaunohelper/source/javaunohelper.cxx b/javaunohelper/source/javaunohelper.cxx index e43023650017..0ba0b5fdea6c 100644 --- a/javaunohelper/source/javaunohelper.cxx +++ b/javaunohelper/source/javaunohelper.cxx @@ -68,7 +68,7 @@ jboolean Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo( if (lib) { // ========================= LATEST VERSION ========================= - OUString aGetEnvName( RTL_CONSTASCII_USTRINGPARAM(COMPONENT_GETENV) ); + OUString aGetEnvName( COMPONENT_GETENV ); oslGenericFunction pSym = osl_getFunctionSymbol( lib, aGetEnvName.pData ); if (pSym) @@ -91,7 +91,7 @@ jboolean Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo( uno_getEnvironment( (uno_Environment **)&java_env, java_env_name.pData, vm_access.get() ); - OUString aWriteInfoName( RTL_CONSTASCII_USTRINGPARAM(COMPONENT_WRITEINFO) ); + OUString aWriteInfoName( COMPONENT_WRITEINFO ); pSym = osl_getFunctionSymbol( lib, aWriteInfoName.pData ); if (pSym) { @@ -151,7 +151,7 @@ jobject Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory( OUString aLibName( pJLibName ); pJEnv->ReleaseStringChars( jLibName, pJLibName); - aLibName += OUString( RTL_CONSTASCII_USTRINGPARAM(SAL_DLLEXTENSION) ); + aLibName += OUString( SAL_DLLEXTENSION ); jobject joSLL_cpp = 0; @@ -160,7 +160,7 @@ jobject Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory( if (lib) { // ========================= LATEST VERSION ========================= - OUString aGetEnvName( RTL_CONSTASCII_USTRINGPARAM(COMPONENT_GETENV) ); + OUString aGetEnvName( COMPONENT_GETENV ); oslGenericFunction pSym = osl_getFunctionSymbol( lib, aGetEnvName.pData ); if (pSym) @@ -184,7 +184,7 @@ jobject Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory( uno_getEnvironment( (uno_Environment **)&java_env, java_env_name.pData, vm_access.get() ); - OUString aGetFactoryName( RTL_CONSTASCII_USTRINGPARAM(COMPONENT_GETFACTORY) ); + OUString aGetFactoryName( COMPONENT_GETFACTORY ); pSym = osl_getFunctionSymbol( lib, aGetFactoryName.pData ); if (pSym) { diff --git a/javaunohelper/source/vm.cxx b/javaunohelper/source/vm.cxx index 6b518f38bc1f..511887406bae 100644 --- a/javaunohelper/source/vm.cxx +++ b/javaunohelper/source/vm.cxx @@ -109,9 +109,8 @@ namespace javaunohelper { } catch ( ::jvmaccess::UnoVirtualMachine::CreationException & ) { throw css::uno::RuntimeException( OUString( - RTL_CONSTASCII_USTRINGPARAM( "jmvaccess::UnoVirtualMachine::CreationException" - " occurred" ) ), + " occurred" ), css::uno::Reference< css::uno::XInterface >() ); } } |