diff options
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;} }; |