return const&

Change-Id: Ia36a6c13dab4c6dbdcff45bfa432835296eec868
This commit is contained in:
Eike Rathke 2016-08-30 22:47:36 +02:00
parent d3351ca3c7
commit e3df93d03c
2 changed files with 2 additions and 2 deletions

View File

@ -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 );

View File

@ -68,7 +68,7 @@ osl::Mutex & GetLinguMutex()
return LinguMutex::get();
}
LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang )
const LocaleDataWrapper & GetLocaleDataWrapper( LanguageType nLang )
{
static LocaleDataWrapper aLclDtaWrp( SvtSysLocale().GetLanguageTag() );