[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - oox/source

Matúš Kukan matus.kukan at collabora.com
Sun Jul 20 23:47:04 PDT 2014


 oox/source/drawingml/textrun.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2762bb1b1b57d0eec2d8cd2c092e52ef082c50b6
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Fri Jul 18 09:23:17 2014 +0200

    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 at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 9537948..8e10553 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 );
 


More information about the Libreoffice-commits mailing list