libstaroffice 0.0.7: a StarCalc file's encryption flag was read from the compound file's own header instead of the StarCalcDocument stream, so every Calc file was reported as encrypted (and a damaged one would ask for a password). It is now read from the stream, as the Writer and Draw checks do. (johnmcm.com; MPL-2.0 like the file it changes.) --- a/src/lib/SDCParser.cxx +++ b/src/lib/SDCParser.cxx @@ -193,7 +193,7 @@ if (header) { header->reset(1, STOFFDocument::STOFF_K_SPREADSHEET); calcInput->seek(1, librevenge::RVNG_SEEK_SET); - header->setEncrypted(input->readULong(1)!=0x42); + header->setEncrypted(calcInput->readULong(1)!=0x42); } return true; }