reset paragraph properties on shape start
This commit is contained in:
parent
e19a2d6fe9
commit
b4a14ff63d
1 changed files with 2 additions and 1 deletions
|
@ -939,9 +939,10 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
|
|||
break;
|
||||
case RTF_SHPTXT:
|
||||
m_aStates.top().nDestinationState = DESTINATION_SHAPETEXT;
|
||||
dispatchFlag(RTF_PARD);
|
||||
m_bNeedPap = true;
|
||||
OSL_ENSURE(!m_aShapetextBuffer.size(), "shapetext buffer is not empty");
|
||||
m_pCurrentBuffer = &m_aShapetextBuffer;
|
||||
m_bNeedPap = true;
|
||||
break;
|
||||
case RTF_LISTTEXT:
|
||||
// Should be ignored by any reader that understands Word 97 through Word 2007 numbering.
|
||||
|
|
Loading…
Reference in a new issue