Coding style improvements.

This commit is contained in:
Felix Geyer
2012-05-14 19:10:42 +02:00
parent 924130e0fe
commit a407e0082b
16 changed files with 42 additions and 42 deletions

View File

@@ -247,7 +247,7 @@ bool KeePass2Reader::readHeaderField()
void KeePass2Reader::setCipher(const QByteArray& data)
{
if (data.size() != Uuid::LENGTH) {
if (data.size() != Uuid::Length) {
raiseError("");
}
else {

View File

@@ -848,7 +848,7 @@ int KeePass2XmlReader::readNumber()
Uuid KeePass2XmlReader::readUuid()
{
QByteArray uuidBin = readBinary();
if (uuidBin.length() != Uuid::LENGTH) {
if (uuidBin.length() != Uuid::Length) {
raiseError(15);
return Uuid();
}