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:44:21 +0000
commit6786bb6571c2d84cdfb2c09ff739c512459e4367 (patch)
tree94bc161e7c9df0549d23acd27389e59b53995719 /oox
parentdbf5d7e52d0162ba10bb971d5a3187303c386589 (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 );