summaryrefslogtreecommitdiff
authorMuthu Subramanian <sumuthu@suse.com>2012-08-17 10:43:56 (GMT)
committer Muthu Subramanian <sumuthu@suse.com>2012-08-21 13:46:25 (GMT)
commit309658bd85fd21daade42be1f1909d944a1e8c20 (patch) (side-by-side diff)
tree3aeaf3c0e78d78b8f30f23fd9239dfc5a6bd9bcd
parent2f88fd3f94702edff29e212771d5d1922566aa94 (diff)
downloadcore-309658bd85fd21daade42be1f1909d944a1e8c20.zip
core-309658bd85fd21daade42be1f1909d944a1e8c20.tar.gz
Reverting superfluous commit 36233b158b5de6c474f06c8c8772f0012b191baa
w.r.t David Tardon's suggestion, table cell now always has textbody. commit: 772699ac1f2375c33f0819ebb127555d3178c4e5 Hence reverting this.
Diffstat (more/less context) (ignore whitespace changes)
-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 7675c10..c89a4f9 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 );
}
} } }