[Libreoffice-commits] core.git: uui/source
Caolán McNamara
caolanm at redhat.com
Sun Jul 23 18:24:42 UTC 2017
uui/source/iahndl.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c3fd791b54187a0a9df91d4674e95acd94ad1a17
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Jul 23 19:23:41 2017 +0100
coverity#1415622 Pointer to local outside scope
Change-Id: I870588f62f5cbb688fa0662483ba008a54ffc492
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index cb24ce840f04..1e0f4b91b609 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1194,7 +1194,8 @@ UUIInteractionHelper::handleBrokenPackageRequest(
OUString aMessage;
{
- ErrorResource aErrorResource(RID_UUI_ERRHDL, Translate::Create("uui", Application::GetSettings().GetUILanguageTag()));
+ std::locale aResLocale = Translate::Create("uui", Application::GetSettings().GetUILanguageTag());
+ ErrorResource aErrorResource(RID_UUI_ERRHDL, aResLocale);
if (!aErrorResource.getString(nErrorCode, aMessage))
return;
}
More information about the Libreoffice-commits
mailing list