diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-05-16 20:53:43 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-05-16 20:54:29 +0530 |
commit | 46083c95c9f4058cc7e9aad3c316de78446897b3 (patch) | |
tree | 60cd4f9f6990a60f14b71914daf5cb85cf31d96b | |
parent | b2022330c01ae2080f4c2bc01be430b0b6faf9d8 (diff) |
Crash fix.
-rw-r--r-- | oox/source/drawingml/textparagraphproperties.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx index 741815bfbd69..e82124d306a9 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())); } |