1
0
mirror of https://github.com/ONLYOFFICE/sdkjs.git synced 2025-04-18 14:24:11 +03:00

[bug] fix bug 74014

This commit is contained in:
Sergey Luzyanin 2025-04-11 15:21:16 +03:00
parent c00fa8883b
commit 0a9e1d5b49

View File

@ -6758,16 +6758,15 @@ function BinaryPPTYLoader()
_object = this.ReadSpTreeElement();
const objectId = _object.getFormatId();
const objectCNvProps = _object.getCNvProps();
if (objectId !== null && objectCNvProps !== null) {
if (this.map_shapes_by_id[objectCNvProps.id]) {
objectCNvProps.setId(AscCommon.CreateDurableId());
}
}
if(_object)
{
const objectId = _object.getFormatId();
const objectCNvProps = _object.getCNvProps();
if (objectId !== null && objectCNvProps !== null) {
if (this.map_shapes_by_id[objectCNvProps.id]) {
objectCNvProps.setId(AscCommon.CreateDurableId());
}
}
shapes[shapes.length] = _object;
}
}