diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 13:13:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:30 +0200 |
commit | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch) | |
tree | fb31b64880b06b0e2bd867aa6216ae0259c7c091 /stoc | |
parent | -Werror,-Wunused-private-field (diff) | |
download | core-2c35fff7eca3a143d28dc75e6a73fe1101d2af77.tar.gz core-2c35fff7eca3a143d28dc75e6a73fe1101d2af77.zip |
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 4 | ||||
-rw-r--r-- | stoc/test/javavm/testjavavm.cxx | 3 | ||||
-rw-r--r-- | stoc/test/testconv.cxx | 3 |
3 files changed, 4 insertions, 6 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index 8b80ea7363a5..15433cca778f 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -164,8 +164,8 @@ const css::uno::Reference<XImplementationLoader> & JavaComponentLoader::getJavaL reinterpret_cast< jvmaccess::UnoVirtualMachine * >(nPointer)); if (!xVirtualMachine.is()) { - //throw RuntimeException(OUString(RTL_CONSTASCII_USTRINGPARAM( - // "javaloader error - JavaVirtualMachine service could not provide a VM")), + //throw RuntimeException(OUString( + // "javaloader error - JavaVirtualMachine service could not provide a VM"), // css::uno::Reference<XInterface>()); // We must not throw a RuntimeException, because this might end the applications. // It is ok if java components diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index ece8cb16fee5..efe2432b4cab 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -131,8 +131,7 @@ SAL_IMPLEMENT_MAIN() OUString sLibLoader("com.sun.star.loader.SharedLibrary"); - OUString sJenLib( - RTL_CONSTASCII_USTRINGPARAM( "javavm.uno" SAL_DLLEXTENSION ) ); + OUString sJenLib( "javavm.uno" SAL_DLLEXTENSION ); xImplReg->registerImplementation( sLibLoader, sJenLib, Reference< XSimpleRegistry >() ); diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 600e3ae900e7..415d3c596fed 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -671,8 +671,7 @@ SAL_IMPLEMENT_MAIN() xMgr->createInstance("com.sun.star.registry.ImplementationRegistration"), UNO_QUERY ); OSL_ENSURE( xImplReg.is(), "### no impl reg!" ); - OUString aLibName( - RTL_CONSTASCII_USTRINGPARAM("stocservices.uno" SAL_DLLEXTENSION) ); + OUString aLibName("stocservices.uno" SAL_DLLEXTENSION ); xImplReg->registerImplementation( OUString("com.sun.star.loader.SharedLibrary"), aLibName, Reference< XSimpleRegistry >() ); |