diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 22:25:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-12 09:36:20 +0200 |
commit | f1bbafc584ba538c21ee156e411903ed142cac2a (patch) | |
tree | 34a471868cbb85ea7aa26413fe87e5afac4781ec /jvmfwk/inc | |
parent | 61f43d0327c81bb2df88734c9572e489e4a9de31 (diff) |
Convert rtl_uString -> OUString in jfw_get/setVMParameters
Change-Id: I55f96873661f686cd9625d69523718ccb54659dc
Diffstat (limited to 'jvmfwk/inc')
-rw-r--r-- | jvmfwk/inc/elements.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/jvmfwk/inc/elements.hxx b/jvmfwk/inc/elements.hxx index f99861a83051..f4766a5c92bd 100644 --- a/jvmfwk/inc/elements.hxx +++ b/jvmfwk/inc/elements.hxx @@ -205,7 +205,7 @@ public: /java/vmParameters@xsi:nil will be set to true when write() is called. */ - void setVmParameters(rtl_uString * * arParameters, sal_Int32 size); + void setVmParameters(std::vector<OUString> const & arParameters); /** adds a location to the already existing locations. Note: call load() before, then add the location and then call write(). @@ -309,10 +309,7 @@ public: bool getJavaInfoAttrAutoSelect() const; #endif - /** returns an array. - Caller must free the strings and the array. - */ - void getVmParametersArray(rtl_uString *** parParameters, sal_Int32 * size) const; + void getVmParametersArray(std::vector<OUString> * parParameters) const; const ::std::vector< OUString> & getJRELocations() const { return m_JRELocations;} }; |