diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2014-11-18 17:40:13 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-19 09:09:59 +0100 |
commit | 772a36932e4803beaffdad87200e0162e1020e94 (patch) | |
tree | c5276ca25c6e77295057720ffbfd27f516bc24f1 /jvmfwk/source | |
parent | 3c95503cefaf996faec1adb87e296c1b8a71d221 (diff) |
changed type of parameters from rtl_uString to OUString
changed type of several parameters of the functions
jfw_plugin_getAllJavaInfos and jfw_plugin_getJavaInfoByPath
from rtl_uString to OUString
Change-Id: I80feb311542e6ccded9f9924f800c75a7e14a1e7
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'jvmfwk/source')
-rw-r--r-- | jvmfwk/source/framework.cxx | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx index 00b6f99c3090..d2092dcc8d30 100644 --- a/jvmfwk/source/framework.cxx +++ b/jvmfwk/source/framework.cxx @@ -88,9 +88,9 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi sal_Int32 cInfos = 0; JavaInfo** arInfos = NULL; javaPluginError plerr = jfw_plugin_getAllJavaInfos( - vendor.pData, - versionInfo.sMinVersion.pData, - versionInfo.sMaxVersion.pData, + vendor, + versionInfo.sMinVersion, + versionInfo.sMaxVersion, versionInfo.getExcludeVersions(), versionInfo.getExcludeVersionSize(), & arInfos, @@ -114,10 +114,10 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi { jfw::CJavaInfo aInfo; plerr = jfw_plugin_getJavaInfoByPath( - ii->pData, - vendor.pData, - versionInfo.sMinVersion.pData, - versionInfo.sMaxVersion.pData, + *ii, + vendor, + versionInfo.sMinVersion, + versionInfo.sMaxVersion, versionInfo.getExcludeVersions(), versionInfo.getExcludeVersionSize(), & aInfo.pInfo); @@ -405,9 +405,9 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo) sal_Int32 cInfos = 0; JavaInfo** arInfos = NULL; javaPluginError plerr = jfw_plugin_getAllJavaInfos( - vendor.pData, - versionInfo.sMinVersion.pData, - versionInfo.sMaxVersion.pData, + vendor, + versionInfo.sMinVersion, + versionInfo.sMaxVersion, versionInfo.getExcludeVersions(), versionInfo.getExcludeVersionSize(), & arInfos, @@ -475,10 +475,10 @@ javaFrameworkError SAL_CALL jfw_findAndSelectJRE(JavaInfo **pInfo) { jfw::CJavaInfo aInfo; javaPluginError err = jfw_plugin_getJavaInfoByPath( - it->pData, - vendor.pData, - versionInfo.sMinVersion.pData, - versionInfo.sMaxVersion.pData, + *it, + vendor, + versionInfo.sMinVersion, + versionInfo.sMaxVersion, versionInfo.getExcludeVersions(), versionInfo.getExcludeVersionSize(), & aInfo.pInfo); @@ -651,6 +651,8 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath( if (pPath == NULL || ppInfo == NULL) return JFW_E_INVALID_ARG; + OUString ouPath(pPath); + jfw::VendorSettings aVendorSettings; std::vector<OUString> vecVendors = aVendorSettings.getSupportedVendors(); @@ -671,10 +673,10 @@ javaFrameworkError SAL_CALL jfw_getJavaInfoByPath( //Only if it does return a JavaInfo JavaInfo* pInfo = NULL; javaPluginError plerr = jfw_plugin_getJavaInfoByPath( - pPath, - vendor.pData, - versionInfo.sMinVersion.pData, - versionInfo.sMaxVersion.pData, + ouPath, + vendor, + versionInfo.sMinVersion, + versionInfo.sMaxVersion, versionInfo.getExcludeVersions(), versionInfo.getExcludeVersionSize(), & pInfo); |