diff options
author | Oliver Specht <os@openoffice.org> | 2000-11-14 10:38:29 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-11-14 10:38:29 +0000 |
commit | aef623cba19bc1b5d9390735765c3566003e9904 (patch) | |
tree | 7e888b6e52268bd46528cd5da57db201504af7e4 | |
parent | 68a495b36e1d4ca2fa55d70565c7af97cd5ba0c1 (diff) |
#79694# insert hyperlink into Sw/Web
-rw-r--r-- | sw/source/ui/shells/textfld.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/shells/textfld.cxx b/sw/source/ui/shells/textfld.cxx index 27e0914dabe9..39606f07cadb 100644 --- a/sw/source/ui/shells/textfld.cxx +++ b/sw/source/ui/shells/textfld.cxx @@ -2,9 +2,9 @@ * * $RCSfile: textfld.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2000-10-10 07:05:00 $ + * last change: $Author: os $ $Date: 2000-11-14 11:38:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -642,6 +642,7 @@ void SwTextShell::InsertHyperlink(const SvxHyperlinkItem& rHlnkItem) const String& rURL = rHlnkItem.GetURL(); const String& rTarget = rHlnkItem.GetTargetFrame(); USHORT nType = (USHORT)rHlnkItem.GetInsertMode(); + nType &= ~HLINK_HTMLMODE; const SvxMacroTableDtor* pMacroTbl = rHlnkItem.GetMacroTbl(); SwWrtShell& rSh = GetShell(); |