ignore formfield outside fldinst
This commit is contained in:
parent
63f4b1367f
commit
c4f7573181
1 changed files with 2 additions and 1 deletions
|
@ -932,7 +932,8 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
|
||||||
m_pCurrentBuffer = &m_aShapetextBuffer;
|
m_pCurrentBuffer = &m_aShapetextBuffer;
|
||||||
break;
|
break;
|
||||||
case RTF_FORMFIELD:
|
case RTF_FORMFIELD:
|
||||||
m_aStates.top().nDestinationState = DESTINATION_FORMFIELD;
|
if (m_aStates.top().nDestinationState == DESTINATION_FIELDINSTRUCTION)
|
||||||
|
m_aStates.top().nDestinationState = DESTINATION_FORMFIELD;
|
||||||
break;
|
break;
|
||||||
case RTF_FFNAME:
|
case RTF_FFNAME:
|
||||||
m_aStates.top().nDestinationState = DESTINATION_FORMFIELDNAME;
|
m_aStates.top().nDestinationState = DESTINATION_FORMFIELDNAME;
|
||||||
|
|
Loading…
Reference in a new issue