From b1d829e52e826b6ea4ae884a64fdb68b66c74dd7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 31 Jul 2017 17:16:27 +0100 Subject: move resmgr to unotools and the vast majority of translations is to the ui language so default ctor with that arg and now drop OModuleResourceClient Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b --- uui/source/iahndl-authentication.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'uui/source/iahndl-authentication.cxx') diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index bf1392e90f0f..a45cae432d1b 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include #include @@ -101,7 +101,7 @@ executeLoginDialog( if (bSavePassword) { - std::locale aLocale(Translate::Create("uui", Application::GetSettings().GetUILanguageTag())); + std::locale aLocale(Translate::Create("uui")); xDialog->SetSavePasswordText( Translate::get(rInfo.GetIsRememberPersistent() ? RID_SAVE_PASSWORD @@ -414,7 +414,7 @@ executeMasterPasswordDialog( { SolarMutexGuard aGuard; - std::locale aResLocale(Translate::Create("uui", Application::GetSettings().GetUILanguageTag())); + std::locale aResLocale(Translate::Create("uui")); if( nMode == task::PasswordRequestMode_PASSWORD_CREATE ) { ScopedVclPtrInstance< MasterPasswordCreateDialog > xDialog( @@ -512,7 +512,7 @@ executePasswordDialog( { SolarMutexGuard aGuard; - std::locale aResLocale(Translate::Create("uui", Application::GetSettings().GetUILanguageTag())); + std::locale aResLocale(Translate::Create("uui")); if( nMode == task::PasswordRequestMode_PASSWORD_CREATE ) { if (bIsSimplePasswordRequest) -- cgit