summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/linkmgr2.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/appl/linkmgr2.cxx
parent4f25eb2c4eb7b5ce265eefe25a5ab84a39daf574 (diff)
tidy some resource strings
Change-Id: I611a276d048121084ec842d062129e042f3baea5
Diffstat (limited to 'sfx2/source/appl/linkmgr2.cxx')
-rw-r--r--sfx2/source/appl/linkmgr2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index 9ee75174a338..7bd60b3b20bb 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -264,10 +264,10 @@ bool LinkManager::GetDisplayNames( const SvBaseLink * pLink,
if( pType )
{
sal_uInt16 nObjType = pLink->GetObjType();
- *pType = String( SfxResId(
+ *pType = SfxResId(
( OBJECT_CLIENT_FILE == nObjType || OBJECT_CLIENT_OLE == nObjType )
? RID_SVXSTR_FILELINK
- : RID_SVXSTR_GRAFIKLINK ));
+ : RID_SVXSTR_GRAFIKLINK).toString();
}
bRet = true;
}
@@ -357,7 +357,7 @@ void LinkManager::UpdateAllLinks(
if( bAskUpdate )
{
- int nRet = QueryBox( pParentWin, WB_YES_NO | WB_DEF_YES, SfxResId( STR_QUERY_UPDATE_LINKS ) ).Execute();
+ int nRet = QueryBox( pParentWin, WB_YES_NO | WB_DEF_YES, SfxResId( STR_QUERY_UPDATE_LINKS ).toString() ).Execute();
if( RET_YES != nRet )
return ; // nothing should be updated
bAskUpdate = sal_False; // once is enough