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

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


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

New commits:
commit 6786bb6571c2d84cdfb2c09ff739c512459e4367
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/10383
    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 c4648c2..6c5259e 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 );
 


More information about the Libreoffice-commits mailing list