diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-30 22:47:36 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-30 23:09:17 +0200 |
commit | e3df93d03c19bc75d1aeb340f056f57db3f4f46c (patch) | |
tree | 7ee49c2d04c6499536c3f4f57bfd59439f0b21b4 | |
parent | d3351ca3c73263fb0151970e7924dff5fa105504 (diff) |
return const&
Change-Id: Ia36a6c13dab4c6dbdcff45bfa432835296eec868
-rw-r--r-- | include/linguistic/misc.hxx | 2 | ||||
-rw-r--r-- | linguistic/source/misc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linguistic/misc.hxx b/include/linguistic/misc.hxx index 52f7a696533a..7ba3d2fa7a69 100644 --- a/include/linguistic/misc.hxx +++ b/include/linguistic/misc.hxx @@ -80,7 +80,7 @@ enum class CapType LNG_DLLPUBLIC ::osl::Mutex& GetLinguMutex(); -LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang ); +const LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang ); sal_Int32 LevDistance( const OUString &rTxt1, const OUString &rTxt2 ); diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 29a057fbfb2b..37f20fb95df3 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -68,7 +68,7 @@ osl::Mutex & GetLinguMutex() return LinguMutex::get(); } -LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang ) +const LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang ) { static LocaleDataWrapper aLclDtaWrp( SvtSysLocale().GetLanguageTag() ); |