diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-23 16:09:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-11-24 07:00:02 +0100 |
commit | 4504d6ddf1b466ae069e7fa0c97f93b74ed0f724 (patch) | |
tree | b972d98eead6739f7d892f9cfecc67819315751e /jvmfwk | |
parent | 651658d37bcb3f493942dd5d0b9a0d65c96f105c (diff) |
loplugin:unusedfields make some fields private
this is one of the secondary analyses this plugin performs
Change-Id: I1c496e234513362338600180e51f7e71e605a7cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143180
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/inc/vendorbase.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx index 5c13ee7a5f94..dca8f3fb02d8 100644 --- a/jvmfwk/inc/vendorbase.hxx +++ b/jvmfwk/inc/vendorbase.hxx @@ -167,17 +167,18 @@ protected: virtual char const* const* getLibraryPaths(int* size) = 0; + typedef rtl::Reference<VendorBase> (*createInstance_func)(); + friend rtl::Reference<VendorBase> + createInstance(createInstance_func pFunc, + const std::vector<std::pair<OUString, OUString>>& properties); + +private: OUString m_sVendor; OUString m_sVersion; OUString m_sHome; OUString m_sRuntimeLibrary; OUString m_sLD_LIBRARY_PATH; OUString m_sArch; - - typedef rtl::Reference<VendorBase> (*createInstance_func)(); - friend rtl::Reference<VendorBase> - createInstance(createInstance_func pFunc, - const std::vector<std::pair<OUString, OUString>>& properties); }; } |