diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-11 16:08:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-11 18:37:07 +0200 |
commit | 47331ae6f95070ff7460e541895895b59eb15103 (patch) | |
tree | 2698e54f0c903e354ac119eba1df6a383b13fd19 /jvmfwk/plugins | |
parent | loplugin:moveparam in framework (diff) | |
download | core-47331ae6f95070ff7460e541895895b59eb15103.tar.gz core-47331ae6f95070ff7460e541895895b59eb15103.zip |
loplugin:moveparam in jvmfwk
Change-Id: I78970269bfd3eb7ad6b069ac99eeee707619d3e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123416
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk/plugins')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/gnujre.cxx | 2 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/gnujre.hxx | 2 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
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 |