diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-02 10:43:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 062e40c76bcab664907737feace74f134a25c29c (patch) | |
tree | 83d8e99e62f8183bad31934cceed1c1626285b12 /desktop | |
parent | 4e6410ba0155d4c2ac539fd37f75aa72d489e206 (diff) |
loplugin:constantfunction: vcl
Change-Id: I985b781a8d53190505fcb1182749cdaf5cd0f8d0
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_service.cxx | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 01b20d5baf48..62402e01b904 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -342,9 +342,6 @@ ResMgr* Desktop::GetDesktopResManager() LanguageTag aLanguageTag( aUILocaleString); //! ResMgr may modify the Locale for fallback! Desktop::pResMgr = ResMgr::SearchCreateResMgr( "dkt", aLanguageTag); - AllSettings as = GetSettings(); - as.SetUILanguageTag(aLanguageTag); - SetSettings(as); } } diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index 9efb027b4a25..45839a498619 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -237,9 +237,6 @@ void ServiceImpl::startExecuteModal( if (! InitVCL() ) throw RuntimeException( "Cannot initialize VCL!", static_cast<OWeakObject *>(this) ); - AllSettings as = Application::GetSettings(); - as.SetUILanguageTag( LanguageTag( utl::ConfigManager::getLocale() ).makeFallback() ); - Application::SetSettings( as ); Application::SetDisplayName( utl::ConfigManager::getProductName() + " " + |