summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-03-29 12:54:07 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-03-29 15:53:55 +0200
commitb475bc459d0406c9211c7be69973f310949a45a6 (patch)
treee9d280eb38fbeac1130970b4c14b90591de04ac4
parent7564b2c1092eeb7969577769b82a4c537e37206f (diff)
fdo#45394 fix RTF import of tables with empty first row
Additionally the table should be at the start of the document to trigger this bug.
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 4254c49149ec..6a1daeaa3089 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1392,6 +1392,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
case RTF_CELL:
case RTF_NESTCELL:
{
+ checkFirstRun();
if (m_bNeedPap)
{
// There were no runs in the cell, so we need to send paragraph and character properties here.