diff options
author | Mathias Bauer <mba@openoffice.org> | 2002-07-19 12:54:55 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2002-07-19 12:54:55 +0000 |
commit | 3a1ae638309cc1d3263b65d03b1396da534a1fc6 (patch) | |
tree | c5fdd067496d381d5e4a8a26bb7f8f5b436519d4 /svx/source/items | |
parent | 70a46fb7439429372c9e156b75f4ca892ffa5a23 (diff) |
#100743#: missing member of HyperlinkItem
Diffstat (limited to 'svx/source/items')
-rw-r--r-- | svx/source/items/hlnkitem.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx index dd6edf605e99..701e3ea1fff6 100644 --- a/svx/source/items/hlnkitem.cxx +++ b/svx/source/items/hlnkitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: hlnkitem.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mba $ $Date: 2002-05-22 12:03:50 $ + * last change: $Author: mba $ $Date: 2002-07-19 13:51:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -402,6 +402,9 @@ BOOL SvxHyperlinkItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberI switch(nMemberId) { case MID_HLINK_NAME : + rVal <<= ::rtl::OUString(sIntName.GetBuffer()); + break; + case MID_HLINK_TEXT : rVal <<= ::rtl::OUString(sName.GetBuffer()); break; case MID_HLINK_URL: @@ -431,6 +434,11 @@ BOOL SvxHyperlinkItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMem case MID_HLINK_NAME : if(!(rVal >>= aStr)) return sal_False; + sIntName = aStr.getStr(); + break; + case MID_HLINK_TEXT : + if(!(rVal >>= aStr)) + return sal_False; sName = aStr.getStr(); break; case MID_HLINK_URL: |