diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2012-08-07 16:14:13 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2012-08-07 16:14:13 +0530 |
commit | 36233b158b5de6c474f06c8c8772f0012b191baa (patch) | |
tree | d5c7c7f2b0426bd44d39dc250d77d33b0b5ab159 /oox | |
parent | fdo#51324 lp#1017125 rhbz#806236 rhbz#823272: erase on invalid iterators (diff) | |
download | core-36233b158b5de6c474f06c8c8772f0012b191baa.tar.gz core-36233b158b5de6c474f06c8c8772f0012b191baa.zip |
n#774167: Crash fix.
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/table/tablecell.cxx | 3 |
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 ); } } } } |