summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-08-07 16:14:13 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-08-07 16:14:13 +0530
commit36233b158b5de6c474f06c8c8772f0012b191baa (patch)
treed5c7c7f2b0426bd44d39dc250d77d33b0b5ab159
parenta0ff39aef11e6e390f01b395c0f7063f6179b98e (diff)
n#774167: Crash fix.
-rw-r--r--oox/source/drawingml/table/tablecell.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index c89a4f9f64a7..7675c106df5a 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -358,7 +358,8 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, ::oo
aFillProperties.pushToPropMap( aPropMap, rFilterBase.getGraphicHelper() );
PropertySet( xPropSet ).setProperties( aPropMap );
- getTextBody()->insertAt( rFilterBase, xText, xAt, aTextStyleProps, pMasterTextListStyle );
+ if( getTextBody() )
+ getTextBody()->insertAt( rFilterBase, xText, xAt, aTextStyleProps, pMasterTextListStyle );
}
} } }