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 /stoc/source/javaloader | |
parent | Revert "ignore already seen locations in compiler plugins" (diff) | |
download | core-e2e2cc61144cb22227eebfadff0ea24b51ccfbd0.tar.gz core-e2e2cc61144cb22227eebfadff0ea24b51ccfbd0.zip |
remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
Diffstat (limited to 'stoc/source/javaloader')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index d97278d9c684..dc68d02597d7 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -135,9 +135,9 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL // get a java vm, where we can create a loader css::uno::Reference<XJavaVM> javaVM_xJavaVM( m_xComponentContext->getValueByName( - OUString(RTL_CONSTASCII_USTRINGPARAM( + OUString( "/singletons/" - "com.sun.star.java.theJavaVirtualMachine"))), + "com.sun.star.java.theJavaVirtualMachine")), UNO_QUERY_THROW); // Use the special protocol of XJavaVM.getJavaVM: If the passed in @@ -227,7 +227,7 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL "javaloader error - no Java environment available"), css::uno::Reference<XInterface>()); // why is there no convinient contructor? - OUString sCppu_current_lb_name(RTL_CONSTASCII_USTRINGPARAM(CPPU_CURRENT_LANGUAGE_BINDING_NAME)); + OUString sCppu_current_lb_name(CPPU_CURRENT_LANGUAGE_BINDING_NAME); uno_getEnvironment(&pUno_environment, sCppu_current_lb_name.pData, NULL); if(!pUno_environment) throw RuntimeException(OUString( @@ -267,9 +267,9 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL catch (jvmaccess::VirtualMachine::AttachGuard::CreationException &) { throw RuntimeException( - OUString(RTL_CONSTASCII_USTRINGPARAM( + OUString( "jvmaccess::VirtualMachine::AttachGuard" - "::CreationException")),0); + "::CreationException"),0); } // set the service manager at the javaloader |