mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug #73042
This commit is contained in:
@ -949,8 +949,6 @@ void CConverter2OOXML::WriteGeometryShape(const CCtrlGeneralShape* pGeneralShape
|
||||
if (nullptr == pGeneralShape)
|
||||
return;
|
||||
|
||||
OpenParagraph(shParaShapeID, oBuilder, oState);
|
||||
|
||||
EShapeObjectType eShapeType = GetShapeObjectType(pGeneralShape->GetID());
|
||||
|
||||
if (EShapeObjectType::Unknown == eShapeType)
|
||||
@ -960,6 +958,8 @@ void CConverter2OOXML::WriteGeometryShape(const CCtrlGeneralShape* pGeneralShape
|
||||
|
||||
WriteCaption((const CCtrlCommon*)pGeneralShape, oBuilder, oState);
|
||||
|
||||
OpenParagraph(shParaShapeID, oBuilder, oState);
|
||||
|
||||
const int nWidth = Transform::HWPUINT2OOXML(pGeneralShape->GetWidth());
|
||||
const int nHeight = Transform::HWPUINT2OOXML(pGeneralShape->GetHeight());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user