diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-06 23:28:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-07 08:19:51 +0100 |
commit | 535e9e7f7d2ddf312a2b77350e94606584778709 (patch) | |
tree | db37c2c6e8f5820833d61686f29d512eb27fd0db /uui/source/openlocked.cxx | |
parent | 0672b7a929576f902c48058e712c7d1a5711ac64 (diff) |
tidy ResId String/rtl::OUString cast foo
Change-Id: I1e8fca182a27efb403e903b424ca4c1c0d3acc49
Diffstat (limited to 'uui/source/openlocked.cxx')
-rw-r--r-- | uui/source/openlocked.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/openlocked.cxx b/uui/source/openlocked.cxx index 0c1d9178b546..fc04f055b49c 100644 --- a/uui/source/openlocked.cxx +++ b/uui/source/openlocked.cxx @@ -31,15 +31,15 @@ OpenLockedQueryBox::OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const String& aMessage ) : MessBox(pParent, 0, - String( ResId( STR_OPENLOCKED_TITLE, *pResMgr ) ), + ResId(STR_OPENLOCKED_TITLE, *pResMgr).toString(), aMessage ) { SetImage( QueryBox::GetStandardImage() ); - AddButton( String( ResId( STR_OPENLOCKED_OPENREADONLY_BTN, *pResMgr ) ), RET_YES, + AddButton(ResId(STR_OPENLOCKED_OPENREADONLY_BTN, *pResMgr).toString(), RET_YES, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON); - AddButton( String( ResId( STR_OPENLOCKED_OPENCOPY_BTN, *pResMgr ) ), RET_NO, 0); + AddButton(ResId(STR_OPENLOCKED_OPENCOPY_BTN, *pResMgr).toString(), RET_NO, 0); AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON ); SetButtonHelpText( RET_YES, String() ); |