Fix bug 47229 (#1343) (#1348)
Fix bug 47229 (#1343) (#1348)

(cherry picked from commit bbfa7b723cdb77f7a7ccaeddbbda79939c9cd4a8)
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs