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

New commits:
commit 46083c95c9f4058cc7e9aad3c316de78446897b3
Author: Muthu Subramanian <[email protected]>
Date:   Wed May 16 20:53:43 2012 +0530

    Crash fix.

diff --git a/oox/source/drawingml/textparagraphproperties.cxx 
b/oox/source/drawingml/textparagraphproperties.cxx
index 741815b..e82124d 100644
--- a/oox/source/drawingml/textparagraphproperties.cxx
+++ b/oox/source/drawingml/textparagraphproperties.cxx
@@ -433,7 +433,7 @@ void TextParagraphProperties::pushToPropSet( const 
::oox::core::XmlFilterBase* p
             rioBulletMap[ PROP_FirstLineOffset ] <<= static_cast< sal_Int32 >( 
*noFirstLineIndentation );
             noFirstLineIndentation = boost::optional< sal_Int32 >( 0 );
         }
-        if ( nNumberingType != NumberingType::BITMAP && 
!rioBulletMap.hasProperty( PROP_BulletColor ))
+        if ( nNumberingType != NumberingType::BITMAP && 
!rioBulletMap.hasProperty( PROP_BulletColor ) && pFilterBase )
             rioBulletMap[ PROP_BulletColor ] <<= static_cast< sal_Int32 >( 
maTextCharacterProperties.maCharColor.getColor( 
pFilterBase->getGraphicHelper()));
     }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to