diff options
Diffstat (limited to 'uui/source/filechanged.cxx')
-rw-r--r-- | uui/source/filechanged.cxx | 8 |
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() |