summaryrefslogtreecommitdiff
authorMuthu Subramanian <sumuthu@suse.com>2012-08-07 10:44:13 (GMT)
committer Muthu Subramanian <sumuthu@suse.com>2012-08-07 10:44:13 (GMT)
commit36233b158b5de6c474f06c8c8772f0012b191baa (patch) (side-by-side diff)
treed5c7c7f2b0426bd44d39dc250d77d33b0b5ab159
parenta0ff39aef11e6e390f01b395c0f7063f6179b98e (diff)
downloadcore-36233b158b5de6c474f06c8c8772f0012b191baa.zip
core-36233b158b5de6c474f06c8c8772f0012b191baa.tar.gz
n#774167: Crash fix.
Diffstat (more/less context) (ignore whitespace changes)
-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 c89a4f9..7675c10 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 );
}
} } }