summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-rw-r--r--uui/source/logindlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/logindlg.cxx b/uui/source/logindlg.cxx
index 8a15dfe7a8ba..89b86de79058 100644
--- a/uui/source/logindlg.cxx
+++ b/uui/source/logindlg.cxx
@@ -282,7 +282,7 @@ LoginDialog::LoginDialog
UniString aRequest;
if ((nFlags & LF_NO_ACCOUNT) != 0 && !rRealm.isEmpty())
{
- aRequest = ResId::toString(ResId(STR_LOGIN_REALM, *pResMgr));
+ aRequest = ResId(STR_LOGIN_REALM, *pResMgr).toString();
aRequest.SearchAndReplaceAscii("%2", rRealm);
}
else