Related: fdo#39856 fix RTF import of some special accented chars in tables
This commit is contained in:
parent
df6c97530e
commit
43d5a03d02
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue