[Libreoffice-commits] core.git: oox/source

Muthu Subramanian sumuthu at collabora.com
Fri Mar 28 05:12:43 PDT 2014


 oox/source/drawingml/textcharacterproperties.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7af3170c6bf1480610f3db46d2354769d42c43a4
Author: Muthu Subramanian <sumuthu at collabora.com>
Date:   Fri Mar 28 17:44:55 2014 +0530

    Use setProperty instead of << operator
    
    Change-Id: I2c553a41de430c200445d8c8e8300af13d0eaea0

diff --git a/oox/source/drawingml/textcharacterproperties.cxx b/oox/source/drawingml/textcharacterproperties.cxx
index 5f7cf4f..3ade363 100644
--- a/oox/source/drawingml/textcharacterproperties.cxx
+++ b/oox/source/drawingml/textcharacterproperties.cxx
@@ -110,7 +110,7 @@ void TextCharacterProperties::pushToPropMap( PropertyMap& rPropMap, const XmlFil
     if( maCharColor.isUsed() )
         rPropMap.setProperty( PROP_CharColor, maCharColor.getColor( rFilter.getGraphicHelper() ));
     if( maGradientProps.maGradientStops.size() > 0 )
-        rPropMap[ PROP_CharColor ] <<= maGradientProps.maGradientStops.begin()->second.getColor( rFilter.getGraphicHelper() );
+        rPropMap.setProperty( PROP_CharColor, maGradientProps.maGradientStops.begin()->second.getColor( rFilter.getGraphicHelper() ));
 
     if( moLang.has() && !moLang.get().isEmpty() )
     {


More information about the Libreoffice-commits mailing list