Kaydet (Commit) b475bc45 authored tarafından Miklos Vajna's avatar Miklos Vajna

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.
üst 7564b2c1
...@@ -1392,6 +1392,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword) ...@@ -1392,6 +1392,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
case RTF_CELL: case RTF_CELL:
case RTF_NESTCELL: case RTF_NESTCELL:
{ {
checkFirstRun();
if (m_bNeedPap) if (m_bNeedPap)
{ {
// There were no runs in the cell, so we need to send paragraph and character properties here. // There were no runs in the cell, so we need to send paragraph and character properties here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment