summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMuthu Subramanian <sumuthu@suse.com>2012-08-17 16:13:56 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-08-21 19:16:25 +0530
commit309658bd85fd21daade42be1f1909d944a1e8c20 (patch)
tree3aeaf3c0e78d78b8f30f23fd9239dfc5a6bd9bcd /oox
parent2f88fd3f94702edff29e212771d5d1922566aa94 (diff)
Reverting superfluous commit 36233b158b5de6c474f06c8c8772f0012b191baa
w.r.t David Tardon's suggestion, table cell now always has textbody. commit: 772699ac1f2375c33f0819ebb127555d3178c4e5 Hence reverting this.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/table/tablecell.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index 7675c106df5a..c89a4f9f64a7 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -358,8 +358,7 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, ::oo
aFillProperties.pushToPropMap( aPropMap, rFilterBase.getGraphicHelper() );
PropertySet( xPropSet ).setProperties( aPropMap );
- if( getTextBody() )
- getTextBody()->insertAt( rFilterBase, xText, xAt, aTextStyleProps, pMasterTextListStyle );
+ getTextBody()->insertAt( rFilterBase, xText, xAt, aTextStyleProps, pMasterTextListStyle );
}
} } }