diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /jvmaccess/source | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'jvmaccess/source')
-rw-r--r-- | jvmaccess/source/classpath.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index 4891cc27876a..d693f2a10a99 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -40,7 +40,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( css::uno::Reference< css::uno::XComponentContext > const & context, - void * environment, ::rtl::OUString const & classPath) + void * environment, OUString const & classPath) { OSL_ASSERT(context.is() && environment != 0); ::JNIEnv * const env = static_cast< ::JNIEnv * >(environment); @@ -55,7 +55,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( } ::std::vector< jobject > urls; for (::sal_Int32 i = 0; i != -1;) { - ::rtl::OUString url(classPath.getToken(0, ' ', i)); + OUString url(classPath.getToken(0, ' ', i)); if (!url.isEmpty()) { css::uno::Reference< css::uri::XVndSunStarExpandUrlReference > expUrl( @@ -68,7 +68,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( url = expUrl->expand( expander ); } catch (const css::lang::IllegalArgumentException & e) { throw css::uno::RuntimeException( - (::rtl::OUString( + (OUString( "com.sun.star.lang.IllegalArgumentException: ") + e.Message), css::uno::Reference< css::uno::XInterface >()); @@ -91,7 +91,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( jobjectArray result = env->NewObjectArray( static_cast< jsize >(urls.size()), classUrl, 0); // static_cast is ok, as each element of urls occupied at least one - // character of the ::rtl::OUString classPath + // character of the OUString classPath if (result == 0) { return 0; } @@ -105,8 +105,8 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( void * ::jvmaccess::ClassPath::doLoadClass( css::uno::Reference< css::uno::XComponentContext > const & context, - void * environment, ::rtl::OUString const & classPath, - ::rtl::OUString const & name) + void * environment, OUString const & classPath, + OUString const & name) { OSL_ASSERT(context.is() && environment != 0); ::JNIEnv * const env = static_cast< ::JNIEnv * >(environment); |