summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 11:17:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 12:57:25 +0200
commit22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 (patch)
tree0e54d0721723336daf26493f85e7be8f07431286 /comphelper
parentd34e969c888219bd3739fc4a8ef330c77f7e7adf (diff)
loplugin:const* make some params and methods const
Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/lok.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}