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

Xisco Fauli anistenis at gmail.com
Mon Apr 8 14:40:20 PDT 2013


 oox/source/drawingml/textparagraph.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit aaeafc323ef77995950dd7337ee35886dd45e543
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Apr 8 23:37:32 2013 +0200

    Fix again n719988, n734733
    
    Bullet should have same color as following text by default
    Regression from bb3540a7cb6866a7b6c36cd71ea4bb9b0609d1e8
    
    Change-Id: I007088db5bcb71e8d90d287b21762dca0dda9573

diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx
index bab0ecd..4679858 100644
--- a/oox/source/drawingml/textparagraph.cxx
+++ b/oox/source/drawingml/textparagraph.cxx
@@ -110,13 +110,14 @@ void TextParagraph::insertAt(
             TextParagraphProperties aParaProp;
             aParaProp.apply( *pTextParagraphStyle );
             aParaProp.apply( maProperties );
-            aParaProp.pushToPropSet( &rFilterBase, xProps, aioBulletList, &pTextParagraphStyle->getBulletList(), sal_True, fCharacterSize, true );
             fCharacterSize = pTextParagraphStyle->getCharHeightPoints( fCharacterSize );
 
             // bullets have same color as following texts by default
             if( !aioBulletList.hasProperty( PROP_BulletColor ) && maRuns.size() > 0
                 && (*maRuns.begin())->getTextCharacterProperties().maCharColor.isUsed() )
                 aioBulletList[ PROP_BulletColor ] <<= (*maRuns.begin())->getTextCharacterProperties().maCharColor.getColor( rFilterBase.getGraphicHelper() );
+
+            aParaProp.pushToPropSet( &rFilterBase, xProps, aioBulletList, &pTextParagraphStyle->getBulletList(), sal_True, fCharacterSize, true );
         }
 
         // empty paragraphs do not have bullets in ppt


More information about the Libreoffice-commits mailing list