summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorTünde Tóth <tundeth@gmail.com>2019-10-02 15:25:23 +0200
committerLászló Németh <nemeth@numbertext.org>2019-11-13 10:32:28 +0100
commit8bd15459527b527454900dd781f1226dade5b118 (patch)
treed46ff6a6f9a768ca846414d2db51a0a038743d3f /sw/source
parentead34a4d34db05d5718d96b66f5e39d886c8b699 (diff)
tdf#127925 DOCX export: fix visited hyperlink style
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 <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/wrtw8sty.cxx4
1 files changed, 4 insertions, 0 deletions
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,