diff options
Diffstat (limited to 'jvmaccess/source')
-rw-r--r-- | jvmaccess/source/classpath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index b1a26df48960..c99290b0ac05 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -74,7 +74,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( ::std::vector< jobject > urls; for (::sal_Int32 i = 0; i != -1;) { ::rtl::OUString url(classPath.getToken(0, ' ', i)); - if (url.getLength() != 0) { + if (!url.isEmpty()) { css::uno::Reference< css::uri::XVndSunStarExpandUrlReference > expUrl( css::uri::UriReferenceFactory::create(context)->parse(url), |