summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-08-07 16:14:13 +0530
committerMichael Stahl <mstahl@redhat.com>2012-08-09 10:20:25 +0200
commit6e91a401501ada01b3e9b814a5c9fa398b3f74bb (patch)
tree9a63f85308566480cf6d7d6170d64090125a5d9f /oox/source/drawingml
parent130a064c29f218699c0b64b50367b3ddd3a3d2db (diff)
n#774167: Crash fix.
(cherry picked from commit 36233b158b5de6c474f06c8c8772f0012b191baa) Signed-off-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'oox/source/drawingml')
-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 f68f766f5968..af0105c9d9e1 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -367,7 +367,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 );
}
} } }