diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-27 17:01:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-28 16:45:48 +0100 |
commit | 5efc15f0006866ac4c422c1b2bde173ded47893f (patch) | |
tree | 119b46339aae67b9a5b1a76ea2a955a548e5016e /svx/source/dialog/imapdlg.cxx | |
parent | e39a959429234aef5348a8b5800b27c29de02a6f (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.cxx | 6 |
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(); } |