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 /include/svx/hlnkitem.hxx | |
parent | 6015ebb09e1c5782194366e460179ec680913018 (diff) |
convert include/svx/hlnkitem.hxx from String to OUString
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71
Diffstat (limited to 'include/svx/hlnkitem.hxx')
-rw-r--r-- | include/svx/hlnkitem.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/svx/hlnkitem.hxx b/include/svx/hlnkitem.hxx index 6913c412c96e..c6e5ce414db8 100644 --- a/include/svx/hlnkitem.hxx +++ b/include/svx/hlnkitem.hxx @@ -40,11 +40,11 @@ enum SvxLinkInsertMode class SVX_DLLPUBLIC SvxHyperlinkItem : public SfxPoolItem { OUString sName; - String sURL; - String sTarget; + OUString sURL; + OUString sTarget; SvxLinkInsertMode eType; - String sIntName; + OUString sIntName; SvxMacroTableDtor* pMacroTable; sal_uInt16 nMacroEvents; @@ -55,8 +55,8 @@ public: SvxHyperlinkItem( sal_uInt16 _nWhich = SID_HYPERLINK_GETLINK ): SfxPoolItem(_nWhich), pMacroTable(NULL) { eType = HLINK_DEFAULT; nMacroEvents=0; }; SvxHyperlinkItem( const SvxHyperlinkItem& rHyperlinkItem ); - SvxHyperlinkItem( sal_uInt16 nWhich, String& rName, String& rURL, - String& rTarget, String& rIntName, + SvxHyperlinkItem( sal_uInt16 nWhich, const OUString& rName, const OUString& rURL, + const OUString& rTarget, const OUString& rIntName, SvxLinkInsertMode eTyp = HLINK_FIELD, sal_uInt16 nEvents = 0, SvxMacroTableDtor *pMacroTbl =NULL ); @@ -72,14 +72,14 @@ public: const OUString& GetName() const { return sName; } void SetName(const OUString& rName) { sName = rName; } - const String& GetURL() const { return sURL; } - void SetURL(const String& rURL) { sURL = rURL; } + const OUString& GetURL() const { return sURL; } + void SetURL(const OUString& rURL) { sURL = rURL; } - const String& GetIntName () const { return sIntName; } - void SetIntName(const String& rIntName) { sIntName = rIntName; } + const OUString& GetIntName () const { return sIntName; } + void SetIntName(const OUString& rIntName) { sIntName = rIntName; } - const String& GetTargetFrame() const { return sTarget; } - void SetTargetFrame(const String& rTarget) { sTarget = rTarget; } + const OUString& GetTargetFrame() const { return sTarget; } + void SetTargetFrame(const OUString& rTarget) { sTarget = rTarget; } SvxLinkInsertMode GetInsertMode() const { return eType; } void SetInsertMode( SvxLinkInsertMode eNew ) { eType = eNew; } |