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

This commit is contained in:
Miklos Vajna 2011-10-29 00:24:55 +02:00
parent df6c97530e
commit 43d5a03d02

View file

@ -3384,7 +3384,8 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t 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));
else
{