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

Related: fdo#39856 fix RTF import of some special accented chars in tables

üst df6c9753
...@@ -3384,7 +3384,8 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len) ...@@ -3384,7 +3384,8 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
{ {
m_pImpl->getTableManager().utext(data_, len); m_pImpl->getTableManager().utext(data_, len);
if(len == 1 && ((*data_) == 0x0d || (*data_) == 0x07)) // RTF always uses text() instead of utext() for run break
if(len == 1 && ((*data_) == 0x0d || (*data_) == 0x07) && !IsRTFImport())
m_pImpl->finishParagraph(m_pImpl->GetTopContextOfType(CONTEXT_PARAGRAPH)); m_pImpl->finishParagraph(m_pImpl->GetTopContextOfType(CONTEXT_PARAGRAPH));
else else
{ {
......
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