From 8bd15459527b527454900dd781f1226dade5b118 Mon Sep 17 00:00:00 2001 From: Tünde Tóth Date: Wed, 2 Oct 2019 15:25:23 +0200 Subject: tdf#127925 DOCX export: fix visited hyperlink style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Custom visited hyperlink style reset to default in Word. Change-Id: I6a36c900788bb17d4f31c60048cf65960490a46b Reviewed-on: https://gerrit.libreoffice.org/80043 Tested-by: Jenkins Reviewed-by: László Németh Tested-by: László Németh --- sw/source/filter/ww8/wrtw8sty.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sw/source') diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index ca492efdd6b5..3c6813406420 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -633,6 +633,10 @@ void MSWordStyles::OutputStyle( SwFormat* pFormat, sal_uInt16 nPos ) { aName = "Hyperlink"; } + else if (aName.equalsIgnoreAsciiCase("Visited Internet Link")) + { + aName = "FollowedHyperlink"; + } m_rExport.AttrOutput().StartStyle( aName, (bFormatColl ? STYLE_TYPE_PARA : STYLE_TYPE_CHAR), nBase, nWwNext, GetWWId( *pFormat ), nPos, -- cgit