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:
Cédric Bosdonnat 2011-11-11 22:11:58 +01:00
parent 74b6759ee8
commit 8a232f0074

View file

@ -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))
{