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-22 11:45:26 +0200
commit60dc2f3a0c2945a7f78bce5e5c50b3f740cfc38f (patch)
tree9a0caf65d020335440d40b89febdb208dd8630be /oox
parent46b29a89a287e90ca58faf48a899cc72bed2d48c (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/10383 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 c4648c205d8d..6c5259e6ad3d 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -140,8 +140,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 );