From 346b5cfd9078826f8705e226ad317b2e4c58162d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Apr 2017 21:38:46 +0200 Subject: Convert some rtl_uString -> OUString in jvmfwk Change-Id: I08de5cab29dabc6fd824d5df8bac12c8520a05ae --- include/jvmfwk/framework.hxx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'include/jvmfwk/framework.hxx') diff --git a/include/jvmfwk/framework.hxx b/include/jvmfwk/framework.hxx index fe806af5bc83..c0aff6841682 100644 --- a/include/jvmfwk/framework.hxx +++ b/include/jvmfwk/framework.hxx @@ -419,7 +419,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_findAllJREs( requirements as determined by the javavendors.xml */ JVMFWK_DLLPUBLIC javaFrameworkError jfw_getJavaInfoByPath( - rtl_uString *pPath, std::unique_ptr *ppInfo); + OUString const & pPath, std::unique_ptr *ppInfo); /** starts a Java Virtual Machine (JVM). @@ -643,16 +643,14 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_getVMParameters( were not met.
JFW_E_DIRECT_MODE the function cannot be used in this mode. */ -JVMFWK_DLLPUBLIC javaFrameworkError jfw_setUserClassPath(rtl_uString * pCP); +JVMFWK_DLLPUBLIC javaFrameworkError jfw_setUserClassPath(OUString const & pCP); /** provides the value of the current user class path.

The function returns an empty string if no user class path is set.

@param ppCP - [out] contains the user class path on return. If *ppCP was - not NULL then the value is overwritten. No attempt at freeing that string - is made. + [out] contains the user class path on return. @return JFW_E_NONE function ran successfully.
@@ -661,7 +659,7 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_setUserClassPath(rtl_uString * pCP); were not met.
JFW_E_DIRECT_MODE the function cannot be used in this mode. */ -JVMFWK_DLLPUBLIC javaFrameworkError jfw_getUserClassPath(rtl_uString ** ppCP); +JVMFWK_DLLPUBLIC javaFrameworkError jfw_getUserClassPath(OUString * ppCP); /** saves the location of a JRE. @@ -688,7 +686,8 @@ JVMFWK_DLLPUBLIC javaFrameworkError jfw_getUserClassPath(rtl_uString ** ppCP); were not met.
JFW_E_DIRECT_MODE the function cannot be used in this mode. */ -JVMFWK_DLLPUBLIC javaFrameworkError jfw_addJRELocation(rtl_uString * sLocation); +JVMFWK_DLLPUBLIC javaFrameworkError jfw_addJRELocation( + OUString const & sLocation); /** checks if the installation of the jre still exists. -- cgit