From e299004c7ab6b37cfe6c68aaf2fecb2a2e9c41bf Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Mon, 10 Dec 2012 20:29:03 -0200 Subject: Remove UniString from uui module Change-Id: I6eb52f42c3364970553015492b9c488c04febed6 Signed-off-by: Marcos Paulo de Souza --- uui/source/logindlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'uui') 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(); -- cgit