summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textfld.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2000-11-14 10:38:29 +0000
committerOliver Specht <os@openoffice.org>2000-11-14 10:38:29 +0000
commitaef623cba19bc1b5d9390735765c3566003e9904 (patch)
tree7e888b6e52268bd46528cd5da57db201504af7e4 /sw/source/ui/shells/textfld.cxx
parent68a495b36e1d4ca2fa55d70565c7af97cd5ba0c1 (diff)
#79694# insert hyperlink into Sw/Web
Diffstat (limited to 'sw/source/ui/shells/textfld.cxx')
-rw-r--r--sw/source/ui/shells/textfld.cxx5
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();