From b9fd0d1c42686fed09ec8781780a8ffc61198bcf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Oct 2017 16:43:05 +0200 Subject: loplugin:constmethod in svl Change-Id: If92869e19c413e11f1f299a97f96b9637aaba65d Reviewed-on: https://gerrit.libreoffice.org/43864 Tested-by: Jenkins Reviewed-by: Noel Grandin --- jvmfwk/source/fwkbase.cxx | 4 ++-- jvmfwk/source/fwkbase.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'jvmfwk') 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 VendorSettings::getSupportedVendors() +std::vector VendorSettings::getSupportedVendors() const { std::vector 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. -- cgit