From c3f2401d49b1374431da54e799a23bc122c5def7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 20 Jun 2012 23:57:47 +0100 Subject: reduce scope and replace some String::CreateFromAscii Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8 --- sfx2/source/appl/linkmgr2.cxx | 5 ++--- 1 file changed, 2 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 b397b3b2b3a8..9ee75174a338 100644 --- a/sfx2/source/appl/linkmgr2.cxx +++ b/sfx2/source/appl/linkmgr2.cxx @@ -547,8 +547,7 @@ sal_uIntPtr LinkManager::RegisterStatusInfoId() if( !nFormat ) { nFormat = SotExchange::RegisterFormatName( - String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( - "StatusInfo from SvxInternalLink" ))); + rtl::OUString("StatusInfo from SvxInternalLink")); } return nFormat; } @@ -704,7 +703,7 @@ sal_Bool SvxInternalLink::Connect( sfx2::SvBaseLink* pLink ) SfxStringItem aName( SID_FILE_NAME, sTopic ); SfxBoolItem aMinimized(SID_MINIMIZED, sal_True); SfxBoolItem aHidden(SID_HIDDEN, sal_True); - SfxStringItem aTarget( SID_TARGETNAME, String::CreateFromAscii("_blank") ); + SfxStringItem aTarget( SID_TARGETNAME, rtl::OUString("_blank") ); SfxStringItem aReferer( SID_REFERER, sReferer ); SfxUInt16Item aUpdate( SID_UPDATEDOCMODE, nUpdateMode ); SfxBoolItem aReadOnly(SID_DOC_READONLY, false); -- cgit