From d9a00ace2ce3423c1ac08eee0bd1fd36dace8d3e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 25 Jun 2012 23:10:14 +0100 Subject: tidy some resource strings Change-Id: I611a276d048121084ec842d062129e042f3baea5 --- sfx2/source/appl/linkmgr2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sfx2/source/appl/linkmgr2.cxx') 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 -- cgit