summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jvmfwk/inc/vendorbase.hxx2
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx2
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx2
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx
index 47e407a1b4a2..4a0190eb0bb8 100644
--- a/jvmfwk/inc/vendorbase.hxx
+++ b/jvmfwk/inc/vendorbase.hxx
@@ -154,7 +154,7 @@ protected:
false - the object could not completely initialize. In this case
it will be discarded by the caller.
*/
- virtual bool initialize(std::vector<std::pair<OUString, OUString>> props);
+ virtual bool initialize(const std::vector<std::pair<OUString, OUString>>& props);
/* returns relative file URLs to the runtime library.
For example "/bin/client/jvm.dll"
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
index 99e07bda8c41..1003e6eec411 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx
@@ -89,7 +89,7 @@ char const* const* GnuInfo::getLibraryPaths(int* /*size*/)
return nullptr;
}
-bool GnuInfo::initialize(std::vector<std::pair<OUString, OUString> > props)
+bool GnuInfo::initialize(const std::vector<std::pair<OUString, OUString> >& props)
{
//get java.vendor, java.version, java.home
//from system properties
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx
index dd3e15cb99c0..5d2f78d1fd17 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx
@@ -38,7 +38,7 @@ public:
virtual char const* const* getLibraryPaths(int* size) override;
- virtual bool initialize(std::vector<std::pair<OUString, OUString>> props) override;
+ virtual bool initialize(const std::vector<std::pair<OUString, OUString>>& props) override;
virtual int compareVersions(const OUString& sSecond) const override;
};
}
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
index e9c26778a461..8863df3352ff 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
@@ -35,7 +35,7 @@ VendorBase::VendorBase()
{
}
-bool VendorBase::initialize(std::vector<std::pair<OUString, OUString> > props)
+bool VendorBase::initialize(const std::vector<std::pair<OUString, OUString> >& props)
{
//get java.vendor, java.version, java.home
//from system properties