summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/syslocaleoptions.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 5f3b00cdf1f3..a5eaae528a0a 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -566,12 +566,6 @@ void SvtSysLocaleOptions::BlockBroadcasts( bool bBlock )
pImpl->BlockBroadcasts( bBlock );
}
-const OUString& SvtSysLocaleOptions::GetLocaleConfigString() const
-{
- MutexGuard aGuard( GetMutex() );
- return pImpl->GetLocaleString();
-}
-
void SvtSysLocaleOptions::SetLocaleConfigString( const OUString& rStr )
{
MutexGuard aGuard( GetMutex() );
@@ -702,7 +696,8 @@ void SvtSysLocaleOptions::ConfigurationChanged( utl::ConfigurationBroadcaster* p
LanguageTag SvtSysLocaleOptions::GetLanguageTag() const
{
- return LanguageTag( GetLocaleConfigString() );
+ MutexGuard aGuard( GetMutex() );
+ return LanguageTag( pImpl->GetLocaleString() );
}
const LanguageTag & SvtSysLocaleOptions::GetRealLanguageTag() const