diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-03 12:41:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-05 08:54:41 +0200 |
commit | 9a915d1114f814ff8d8ba4fb0d2b9b2589ea0833 (patch) | |
tree | 19a9126e43a768fc9482f42cd837cea41f16300d /svx | |
parent | 6015ebb09e1c5782194366e460179ec680913018 (diff) |
convert include/svx/hlnkitem.hxx from String to OUString
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/items/hlnkitem.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx index 9014196dd620..5faaef41b5f7 100644 --- a/svx/source/items/hlnkitem.cxx +++ b/svx/source/items/hlnkitem.cxx @@ -207,8 +207,8 @@ SvxHyperlinkItem::SvxHyperlinkItem( const SvxHyperlinkItem& rHyperlinkItem ): }; -SvxHyperlinkItem::SvxHyperlinkItem( sal_uInt16 _nWhich, String& rName, String& rURL, - String& rTarget, String& rIntName, SvxLinkInsertMode eTyp, +SvxHyperlinkItem::SvxHyperlinkItem( sal_uInt16 _nWhich, const OUString& rName, const OUString& rURL, + const OUString& rTarget, const OUString& rIntName, SvxLinkInsertMode eTyp, sal_uInt16 nEvents, SvxMacroTableDtor *pMacroTbl ): SfxPoolItem (_nWhich), sName (rName), @@ -294,16 +294,16 @@ bool SvxHyperlinkItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMe switch(nMemberId) { case MID_HLINK_NAME : - rVal <<= OUString(sIntName.GetBuffer()); + rVal <<= sIntName; break; case MID_HLINK_TEXT : rVal <<= sName; break; case MID_HLINK_URL: - rVal <<= OUString(sURL.GetBuffer()); + rVal <<= sURL; break; case MID_HLINK_TARGET: - rVal <<= OUString(sTarget.GetBuffer()); + rVal <<= sTarget; break; case MID_HLINK_TYPE: rVal <<= (sal_Int32) eType; |