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

Fix crash of text frames inside RTF tables (fdo#39856)

üst 43d5a03d
......@@ -1989,7 +1989,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
if (pSprm)
{
m_bNeedPap = true;
*pSprm = TWIP_TO_MM100(nParam);
// Don't try to support text frames inside tables for now.
if (m_pCurrentBuffer != &m_aTableBuffer)
*pSprm = TWIP_TO_MM100(nParam);
return 0;
}
......
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