Skip to content

Commit d016615

Browse files
authored
Fixes xls with embedded doc may show wrong props
1 parent 59538ee commit d016615

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bits/76_xls.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,14 +879,14 @@ var PSCLSID = {
879879
};
880880
function parse_xls_props(cfb/*:CFBContainer*/, props, o) {
881881
/* [MS-OSHARED] 2.3.3.2.2 Document Summary Information Property Set */
882-
var DSI = CFB.find(cfb, '!DocumentSummaryInformation');
882+
var DSI = CFB.find(cfb, '/!DocumentSummaryInformation');
883883
if(DSI && DSI.size > 0) try {
884884
var DocSummary = parse_PropertySetStream(DSI, DocSummaryPIDDSI, PSCLSID.DSI);
885885
for(var d in DocSummary) props[d] = DocSummary[d];
886886
} catch(e) {if(o.WTF) throw e;/* empty */}
887887

888888
/* [MS-OSHARED] 2.3.3.2.1 Summary Information Property Set*/
889-
var SI = CFB.find(cfb, '!SummaryInformation');
889+
var SI = CFB.find(cfb, '/!SummaryInformation');
890890
if(SI && SI.size > 0) try {
891891
var Summary = parse_PropertySetStream(SI, SummaryPIDSI, PSCLSID.SI);
892892
for(var s in Summary) if(props[s] == null) props[s] = Summary[s];

0 commit comments

Comments
 (0)