mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 01:04:34 +08:00
for bug #75064
This commit is contained in:
@ -64,7 +64,7 @@ namespace OdfCustomShape
|
||||
CElement* pElement = SMCustomShapePars::ParseElement(pReader);
|
||||
if(pElement != nullptr)
|
||||
{
|
||||
if(pElement->GetBaseType() == TypeElement::ArithmeticOperation && !arVec.empty())
|
||||
if(pElement->GetBaseType() == TypeElement::ArithmeticOperation && !arVec.empty() && arVec.back()->GetBaseType() != TypeElement::comma)
|
||||
{
|
||||
CElementArithmeticOperations* pSign = static_cast<CElementArithmeticOperations*>(pElement);
|
||||
pSign->SetFirstValue(arVec.back());
|
||||
|
||||
Reference in New Issue
Block a user