RTF import: Fixed unicode characters import, fdo#42109
Actually implemented the \uc to skip the ANSI representation after the unicode value.
This commit is contained in:
parent
74b6759ee8
commit
8a232f0074
1 changed files with 4 additions and 0 deletions
|
@ -2221,6 +2221,10 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
|
|||
}
|
||||
}
|
||||
break;
|
||||
case RTF_UC:
|
||||
if ((SAL_MIN_INT16 <= nParam) && (nParam <= SAL_MAX_INT16))
|
||||
m_aStates.top().nUc = nParam;
|
||||
break;
|
||||
case RTF_U:
|
||||
if ((SAL_MIN_INT16 <= nParam) && (nParam <= SAL_MAX_INT16))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue