Warn if result of processInPlace() is unchecked.

Fix callers accordingly.
This commit is contained in:
Felix Geyer
2015-05-09 19:57:16 +02:00
parent a762cef0a9
commit f6243675c9
7 changed files with 13 additions and 11 deletions

View File

@@ -877,7 +877,9 @@ QPair<QString, QString> KeePass2XmlReader::parseEntryBinary(Entry* entry)
&& (attr.value("Protected") == "True");
if (isProtected && !value.isEmpty()) {
m_randomStream->processInPlace(value);
if (!m_randomStream->processInPlace(value)) {
raiseError(m_randomStream->errorString());
}
}
}