Task #653 - added.err

back to task #653
download
Error: COMPILER_WARNING (CWE-477):
kf6-kfilemetadata-6.3.0-build/kfilemetadata-6.3.0/src/extractors/office2007extractor.cpp: scope_hint: In member function ‘virtual void KFileMetaData::Office2007Extractor::extract(KFileMetaData::ExtractionResult*)’
kf6-kfilemetadata-6.3.0-build/kfilemetadata-6.3.0/src/extractors/office2007extractor.cpp:80:27: warning[-Wdeprecated-declarations]: ‘bool QDomDocument::setContent(const QByteArray&, bool, QString*, int*, int*)’ is deprecated: Use the overload taking ParseOptions instead.
#   80 |         coreDoc.setContent(file->data(), true);
#      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtXml/QDomNode:1: included_from: Included from here.
kf6-kfilemetadata-6.3.0-build/kfilemetadata-6.3.0/src/extractors/dublincoreextractor.h:13: included_from: Included from here.
kf6-kfilemetadata-6.3.0-build/kfilemetadata-6.3.0/src/extractors/office2007extractor.cpp:10: included_from: Included from here.
/usr/include/qt6/QtXml/qdom.h:321:10: note: declared here
#  321 |     bool setContent(const QByteArray &text, bool namespaceProcessing, QString *errorMsg = nullptr, int *errorLine = nullptr, int *errorColumn = nullptr);
#      |          ^~~~~~~~~~
#   78|       if (extractMetaData && file) {
#   79|           QDomDocument coreDoc(QStringLiteral("core"));
#   80|->         coreDoc.setContent(file->data(), true);
#   81|   
#   82|           QDomElement cpElem = coreDoc.documentElement();