diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-11 15:57:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-11 17:33:49 +0100 |
commit | 279e9914a92fe5751cc3c0f466dc3198bc44c60b (patch) | |
tree | 609076b58eff6145317c27afb755cc4db415346c /uui | |
parent | 41df2c5c8b32c8d8ec38be8d087ef9dbc221cccb (diff) |
coverity#1242367 Unchecked return value
Change-Id: I899f97df32d943e61d7f0a125ae9ccea88b5374b
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl-ssl.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx index 17eef02621ea..61785362b7d9 100644 --- a/uui/source/iahndl-ssl.cxx +++ b/uui/source/iahndl-ssl.cxx @@ -231,9 +231,11 @@ executeSSLWarnDialog( } OUString aTitle; - ErrorResource(aResId).getString( - ERRCODE_AREA_UUI_UNKNOWNAUTH + failure + TITLE, aTitle); - xDialog->SetText( aTitle ); + if (ErrorResource(aResId).getString( + ERRCODE_AREA_UUI_UNKNOWNAUTH + failure + TITLE, aTitle)) + { + xDialog->SetText(aTitle); + } } return static_cast<bool>(xDialog->Execute()); |