diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-12-10 20:29:03 -0200 |
---|---|---|
committer | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-12-10 21:26:59 -0200 |
commit | e299004c7ab6b37cfe6c68aaf2fecb2a2e9c41bf (patch) | |
tree | abf10c9137d14755a77083bb802551a2428a242a | |
parent | 17b272effc206875fe4165e58d6452f0ecd82222 (diff) |
Remove UniString from uui module
Change-Id: I6eb52f42c3364970553015492b9c488c04febed6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
-rw-r--r-- | uui/source/logindlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/logindlg.cxx b/uui/source/logindlg.cxx index d8bf1f518d2f..e9620db6ff69 100644 --- a/uui/source/logindlg.cxx +++ b/uui/source/logindlg.cxx @@ -269,11 +269,11 @@ LoginDialog::LoginDialog aHelpBtn ( this, ResId( BTN_LOGIN_HELP, *pResMgr ) ) { - UniString aRequest; + OUString aRequest; if ((nFlags & LF_NO_ACCOUNT) != 0 && !rRealm.isEmpty()) { - aRequest = ResId(STR_LOGIN_REALM, *pResMgr).toString(); - aRequest.SearchAndReplaceAscii("%2", rRealm); + aRequest = OUString(ResId(STR_LOGIN_REALM, *pResMgr)); + 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.SearchAndReplaceAscii("%1", rServer); + aRequest.replaceAll("%1", rServer); aRequestInfo.SetText(aRequest); FreeResource(); |