From 22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 11:17:13 +0200 Subject: loplugin:const* make some params and methods const Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010 Tested-by: Noel Grandin Reviewed-by: Noel Grandin --- comphelper/source/misc/lok.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 8f26be08c49d..c0e0726b7440 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -51,7 +51,7 @@ public: , maLocaleLanguageTag(LANGUAGE_NONE) {} - const LanguageTag& getLanguage() + const LanguageTag& getLanguage() const { return maLanguageTag; } @@ -65,7 +65,7 @@ public: } } - const LanguageTag& getLocale() + const LanguageTag& getLocale() const { return maLocaleLanguageTag; } -- cgit