summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/recfloat.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-25 23:10:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-26 13:34:03 +0100
commitd9a00ace2ce3423c1ac08eee0bd1fd36dace8d3e (patch)
tree2a3900905792268c39f0c9596a5eb9ecdc8a3c61 /sfx2/source/dialog/recfloat.cxx
parent4f25eb2c4eb7b5ce265eefe25a5ab84a39daf574 (diff)
tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
Diffstat (limited to 'sfx2/source/dialog/recfloat.cxx')
-rw-r--r--sfx2/source/dialog/recfloat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/recfloat.cxx b/sfx2/source/dialog/recfloat.cxx
index 010002b1840b..2426ec708fe9 100644
--- a/sfx2/source/dialog/recfloat.cxx
+++ b/sfx2/source/dialog/recfloat.cxx
@@ -173,8 +173,8 @@ sal_Bool SfxRecordingFloatWrapper_Impl::QueryClose()
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > xRecorder = pBindings->GetRecorder();
if ( xRecorder.is() && !xRecorder->getRecordedMacro().isEmpty() )
{
- QueryBox aBox( GetWindow(), WB_YES_NO | WB_DEF_NO , String( SfxResId( STR_MACRO_LOSS ) ) );
- aBox.SetText( String( SfxResId(STR_CANCEL_RECORDING) ) );
+ QueryBox aBox( GetWindow(), WB_YES_NO | WB_DEF_NO , SfxResId(STR_MACRO_LOSS).toString() );
+ aBox.SetText( SfxResId(STR_CANCEL_RECORDING).toString() );
bRet = ( aBox.Execute() == RET_YES );
}