diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-20 23:57:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-21 15:07:52 +0100 |
commit | c3f2401d49b1374431da54e799a23bc122c5def7 (patch) | |
tree | 81ea39989af360ca879c7a84e7b1643698255589 /sfx2/source/appl/linkmgr2.cxx | |
parent | 3d506e814719ecaa5862663bce467994ccf31a4d (diff) |
reduce scope and replace some String::CreateFromAscii
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
Diffstat (limited to 'sfx2/source/appl/linkmgr2.cxx')
-rw-r--r-- | sfx2/source/appl/linkmgr2.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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); |