diff options
Diffstat (limited to 'jvmaccess')
-rw-r--r-- | jvmaccess/source/classpath.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index a4ff354ecf97..61d3fc9d4eae 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -40,7 +40,6 @@ #include "com/sun/star/uno/RuntimeException.hpp" #include "com/sun/star/uno/XComponentContext.hpp" #include "com/sun/star/uno/XInterface.hpp" -#include "com/sun/star/uri/ExternalUriReferenceTranslator.hpp" #include "com/sun/star/uri/UriReferenceFactory.hpp" #include "com/sun/star/uri/XVndSunStarExpandUrlReference.hpp" #include "com/sun/star/util/XMacroExpander.hpp" @@ -101,19 +100,6 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( css::uno::Reference< css::uno::XInterface >()); } } - if (url.getLength() != 0) { - url = css::uri::ExternalUriReferenceTranslator::create( - context)->translateToExternal(url); - if (url.getLength() == 0) { - throw css::uno::RuntimeException( - ::rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.uri." - "ExternalUriReferenceTranslator." - "translateToExternal failed")), - css::uno::Reference< css::uno::XInterface >()); - } - } jvalue arg; arg.l = env->NewString( static_cast< jchar const * >(url.getStr()), |