summaryrefslogtreecommitdiff
path: root/svx/source/dialog/imapdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-27 17:01:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-28 16:45:48 +0100
commit5efc15f0006866ac4c422c1b2bde173ded47893f (patch)
tree119b46339aae67b9a5b1a76ea2a955a548e5016e /svx/source/dialog/imapdlg.cxx
parente39a959429234aef5348a8b5800b27c29de02a6f (diff)
reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
Diffstat (limited to 'svx/source/dialog/imapdlg.cxx')
-rw-r--r--svx/source/dialog/imapdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index 6273a71debfe..762acd83e45b 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -226,7 +226,7 @@ sal_Bool SvxIMapDlg::Close()
if ( aTbxIMapDlg1.IsItemEnabled( TBI_APPLY ) )
{
QueryBox aQBox( this, WB_YES_NO_CANCEL | WB_DEF_YES,
- String( SVX_RES( STR_IMAPDLG_MODIFY ) ) );
+ SVX_RESSTR( STR_IMAPDLG_MODIFY ) );
const long nRet = aQBox.Execute();
if( nRet == RET_YES )
@@ -241,7 +241,7 @@ sal_Bool SvxIMapDlg::Close()
else if( pIMapWnd->IsChanged() )
{
QueryBox aQBox( this, WB_YES_NO_CANCEL | WB_DEF_YES,
- String( SVX_RES( STR_IMAPDLG_SAVE ) ) );
+ SVX_RESSTR( STR_IMAPDLG_SAVE ) );
const long nRet = aQBox.Execute();
if( nRet == RET_YES )
@@ -730,7 +730,7 @@ IMPL_LINK_NOARG(SvxIMapDlg, UpdateHdl)
{
if ( pIMapWnd->IsChanged() &&
( QueryBox( this, WB_YES_NO | WB_DEF_YES,
- String( SVX_RES( STR_IMAPDLG_SAVE ) ) ).Execute() == RET_YES ) )
+ SVX_RESSTR( STR_IMAPDLG_SAVE ) ).Execute() == RET_YES ) )
{
DoSave();
}