diff --git a/src/format/KdbxWriter.cpp b/src/format/KdbxWriter.cpp index b7758c751..1e4923934 100644 --- a/src/format/KdbxWriter.cpp +++ b/src/format/KdbxWriter.cpp @@ -71,7 +71,8 @@ void KdbxWriter::extractDatabase(QByteArray& xmlOutput, Database* db) QBuffer buffer; buffer.setBuffer(&xmlOutput); buffer.open(QIODevice::WriteOnly); - KdbxXmlWriter writer(db->formatVersion()); + KdbxXmlWriter::BinaryIdxMap idxMap; + KdbxXmlWriter writer(db->formatVersion(), idxMap); writer.disableInnerStreamProtection(true); writer.writeDatabase(&buffer, db); }