summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 16:43:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-26 11:43:40 +0200
commitb9fd0d1c42686fed09ec8781780a8ffc61198bcf (patch)
tree953d0ab655786b13d3314c9bffed66be019948eb /jvmfwk
parentd9b6f4fd38da9f875b78f6ff365bcb16fb2c8e8b (diff)
loplugin:constmethod in svl
Change-Id: If92869e19c413e11f1f299a97f96b9637aaba65d Reviewed-on: https://gerrit.libreoffice.org/43864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/source/fwkbase.cxx4
-rw-r--r--jvmfwk/source/fwkbase.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index c48acac4cec7..b7044217edc1 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -116,7 +116,7 @@ VendorSettings::VendorSettings():
}
}
-VersionInfo VendorSettings::getVersionInformation(const OUString & sVendor)
+VersionInfo VendorSettings::getVersionInformation(const OUString & sVendor) const
{
OSL_ASSERT(!sVendor.isEmpty());
VersionInfo aVersionInfo;
@@ -198,7 +198,7 @@ VersionInfo VendorSettings::getVersionInformation(const OUString & sVendor)
return aVersionInfo;
}
-std::vector<OUString> VendorSettings::getSupportedVendors()
+std::vector<OUString> VendorSettings::getSupportedVendors() const
{
std::vector<OUString> vecVendors;
//get the nodeset for the vendor elements
diff --git a/jvmfwk/source/fwkbase.hxx b/jvmfwk/source/fwkbase.hxx
index e1f9edda354c..b3779cda96b6 100644
--- a/jvmfwk/source/fwkbase.hxx
+++ b/jvmfwk/source/fwkbase.hxx
@@ -34,9 +34,9 @@ class VendorSettings
public:
VendorSettings();
- VersionInfo getVersionInformation(const OUString & sVendor);
+ VersionInfo getVersionInformation(const OUString & sVendor) const;
- ::std::vector< OUString> getSupportedVendors();
+ ::std::vector< OUString> getSupportedVendors() const;
};
/* The class offers functions to retrieve verified bootstrap parameters.