summaryrefslogtreecommitdiff
path: root/uui/source/lockfailed.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/lockfailed.cxx
parent0672b7a929576f902c48058e712c7d1a5711ac64 (diff)
tidy ResId String/rtl::OUString cast foo
Change-Id: I1e8fca182a27efb403e903b424ca4c1c0d3acc49
Diffstat (limited to 'uui/source/lockfailed.cxx')
-rw-r--r--uui/source/lockfailed.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/lockfailed.cxx b/uui/source/lockfailed.cxx
index bc2e7c383c5d..325eeac8fdc2 100644
--- a/uui/source/lockfailed.cxx
+++ b/uui/source/lockfailed.cxx
@@ -33,7 +33,7 @@
LockFailedQueryBox::LockFailedQueryBox( Window* pParent, ResMgr* pResMgr ) :
MessBox(pParent, 0,
- String( ResId( STR_LOCKFAILED_TITLE, *pResMgr ) ),
+ ResId(STR_LOCKFAILED_TITLE, *pResMgr).toString(),
String::EmptyString() )
{
SetImage( ErrorBox::GetStandardImage() );
@@ -41,8 +41,8 @@ LockFailedQueryBox::LockFailedQueryBox( Window* pParent, ResMgr* pResMgr ) :
AddButton( BUTTON_OK, RET_OK, BUTTONDIALOG_OKBUTTON );
AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
- SetMessText( String( ResId( STR_LOCKFAILED_MSG, *pResMgr ) ) );
- SetCheckBoxText( String( ResId( STR_LOCKFAILED_DONTSHOWAGAIN, *pResMgr ) ) );
+ SetMessText(ResId(STR_LOCKFAILED_MSG, *pResMgr ).toString());
+ SetCheckBoxText(ResId(STR_LOCKFAILED_DONTSHOWAGAIN, *pResMgr).toString());
}
LockFailedQueryBox::~LockFailedQueryBox()