summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 14:20:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 18:50:51 +0200
commite859bf8c4da78698b820d13af1a2fdee3602f5b4 (patch)
treeb2ead4e992f283c2e1dfcdabfa99f013f1506918 /unotools
parentae1d21ae69b0522cbbe67abeb2f5c5ba7ca2c33b (diff)
loplugin:constmethod
Change-Id: I7913fd8144d521b8293ac43036d0fad82e457cd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/syslocale.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx
index d68522720834..0201d9f8be72 100644
--- a/unotools/source/misc/syslocale.cxx
+++ b/unotools/source/misc/syslocale.cxx
@@ -57,7 +57,7 @@ public:
virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, ConfigurationHints ) override;
private:
- std::vector<OUString> getDateAcceptancePatternsConfig();
+ std::vector<OUString> getDateAcceptancePatternsConfig() const;
};
SvtSysLocale_Impl::SvtSysLocale_Impl()
@@ -98,7 +98,7 @@ void SvtSysLocale_Impl::ConfigurationChanged( utl::ConfigurationBroadcaster*, Co
pLocaleData.reset(new LocaleDataWrapper(rLanguageTag, getDateAcceptancePatternsConfig()));
}
-std::vector<OUString> SvtSysLocale_Impl::getDateAcceptancePatternsConfig()
+std::vector<OUString> SvtSysLocale_Impl::getDateAcceptancePatternsConfig() const
{
OUString aStr( aSysLocaleOptions.GetDatePatternsConfigString());
if (aStr.isEmpty())