Commit 611cc791 authored by Sergey Konovalov's avatar Sergey Konovalov

use function for assignment CSdtPr

parent 1f731062
......@@ -10229,9 +10229,11 @@ function Binary_DocumentTableReader(doc, oReadResult, openParams, stream, curFoo
var oThis = this;
if (c_oSerSdt.Pr === type) {
if (0 === typeContainer) {
var sdtPr = new AscCommonWord.CSdtPr();
res = this.bcr.Read1(length, function(t, l) {
return oThis.ReadSdtPr(t, l, oSdt.Pr);
return oThis.ReadSdtPr(t, l, sdtPr);
});
oSdt.SetPr(sdtPr);
} else {
res = c_oSerConstants.ReadUnknown;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment