diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-12-12 00:29:30 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-12-12 00:29:30 +0200 |
commit | 70d0f2cc1607a112f76f4fca22bed3d61eef6122 (patch) | |
tree | d6964ddccd42e7acedb735147c21a69b8c129875 /uui/source/logindlg.cxx | |
parent | dddca20c4871c7f7694510123f2366c3a179c06c (diff) |
WaE: warn_unused_result
Change-Id: I17c916a751a5bf5ab70bd59d247f865676c9e1e4
Diffstat (limited to 'uui/source/logindlg.cxx')
-rw-r--r-- | uui/source/logindlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/logindlg.cxx b/uui/source/logindlg.cxx index e9620db6ff69..306b06fb247f 100644 --- a/uui/source/logindlg.cxx +++ b/uui/source/logindlg.cxx @@ -273,7 +273,7 @@ LoginDialog::LoginDialog if ((nFlags & LF_NO_ACCOUNT) != 0 && !rRealm.isEmpty()) { aRequest = OUString(ResId(STR_LOGIN_REALM, *pResMgr)); - aRequest.replaceAll("%2", rRealm); + aRequest = aRequest.replaceAll("%2", rRealm); } else aRequest = aRequestInfo.GetText(); @@ -281,7 +281,7 @@ LoginDialog::LoginDialog if ( !( ( nFlags & LF_NO_USESYSCREDS ) == LF_NO_USESYSCREDS ) ) EnableUseSysCredsControls_Impl( aUseSysCredsCB.IsChecked() ); - aRequest.replaceAll("%1", rServer); + aRequest = aRequest.replaceAll("%1", rServer); aRequestInfo.SetText(aRequest); FreeResource(); |