summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-12-02 20:34:44 +0100
committerEike Rathke <erack@redhat.com>2016-12-02 20:36:24 +0100
commitb913ce4c321142d0d0948ab4d6d8ba362919d7d8 (patch)
treee60b9a6382e93729335f94529553b6f00f9d5c25 /unotools
parenteb1762fea0c9e281d2bcad2eeffda2a5238816a8 (diff)
remove now unused SvtSysLocaleOptions::GetLocaleConfigString()
Which just lead to confusion as could be seen in two earlier commits.. Change-Id: I172127cf08bcd45c3c53e0cf00cf11a41e0dd3a6
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