Fix Issue #49 Wrong parenthesis in method, Thanks Matthias

This commit is contained in:
Debao Zhang
2014-10-20 14:01:05 +08:00
parent 16b3132da9
commit ce05cf8528
+2 -2
View File
@@ -1126,8 +1126,8 @@ bool Format::hasProtectionData() const
if (!d)
return false;
if (hasProperty(FormatPrivate::P_Protection_Hidden)
|| FormatPrivate::P_Protection_Locked) {
if (hasProperty(FormatPrivate::P_Protection_Hidden
|| FormatPrivate::P_Protection_Locked)) {
return true;
}
return false;