summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-07-18 09:23:17 +0200
committerAndras Timar <andras.timar@collabora.com>2014-07-21 06:46:34 +0000
commit2762bb1b1b57d0eec2d8cd2c092e52ef082c50b6 (patch)
tree8f20070ef55ad239a0c662e1abbbaa1c7508ae52 /oox
parent917ff913b11309dfb13f5ee0d46a609608e5bbe3 (diff)
bnc#887230: always use theme color for hyperlinks in Impress
Change-Id: I888f107c61037162439ad2d1ba99ad8185532f71 (cherry picked from commit 92f74f6ccb5a55807724db85815f7ea0c49370e0) Reviewed-on: https://gerrit.libreoffice.org/10384 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textrun.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 953794810e2e..8e10553171dc 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -144,8 +144,7 @@ sal_Int32 TextRun::insertAt(
xTextFieldCursor->gotoEnd( sal_True );
- if ( !maTextCharacterProperties.maCharColor.isUsed() )
- aTextCharacterProps.maCharColor.setSchemeClr( XML_hlink );
+ aTextCharacterProps.maCharColor.setSchemeClr( XML_hlink );
if ( !maTextCharacterProperties.moUnderline.has() )
aTextCharacterProps.moUnderline.set( XML_sng );