summaryrefslogtreecommitdiff
path: root/uui/source/filechanged.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-06 23:28:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-07 08:19:51 +0100
commit535e9e7f7d2ddf312a2b77350e94606584778709 (patch)
treedb37c2c6e8f5820833d61686f29d512eb27fd0db /uui/source/filechanged.cxx
parent0672b7a929576f902c48058e712c7d1a5711ac64 (diff)
tidy ResId String/rtl::OUString cast foo
Change-Id: I1e8fca182a27efb403e903b424ca4c1c0d3acc49
Diffstat (limited to 'uui/source/filechanged.cxx')
-rw-r--r--uui/source/filechanged.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/filechanged.cxx b/uui/source/filechanged.cxx
index 0a41fa8d7dbc..c926d942440e 100644
--- a/uui/source/filechanged.cxx
+++ b/uui/source/filechanged.cxx
@@ -31,17 +31,17 @@
FileChangedQueryBox::FileChangedQueryBox( Window* pParent, ResMgr* pResMgr ) :
MessBox(pParent, 0,
- String( ResId( STR_FILECHANGED_TITLE, *pResMgr ) ),
+ ResId(STR_FILECHANGED_TITLE, *pResMgr).toString(),
String::EmptyString() )
{
SetImage( QueryBox::GetStandardImage() );
- AddButton( String( ResId( STR_FILECHANGED_SAVEANYWAY_BTN, *pResMgr ) ), RET_YES,
- BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON );
+ AddButton(ResId(STR_FILECHANGED_SAVEANYWAY_BTN, *pResMgr).toString(), RET_YES,
+ BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_OKBUTTON | BUTTONDIALOG_FOCUSBUTTON);
AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
SetButtonHelpText( RET_YES, String::EmptyString() );
- SetMessText( String( ResId( STR_FILECHANGED_MSG, *pResMgr ) ) );
+ SetMessText(ResId(STR_FILECHANGED_MSG, *pResMgr).toString());
}
FileChangedQueryBox::~FileChangedQueryBox()