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:
parent
c00fa8883b
commit
0a9e1d5b49
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user