From ce05cf85280f24e58c09de4a30569c157a142801 Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Mon, 20 Oct 2014 14:01:05 +0800 Subject: [PATCH] Fix Issue #49 Wrong parenthesis in method, Thanks Matthias --- src/xlsx/xlsxformat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xlsx/xlsxformat.cpp b/src/xlsx/xlsxformat.cpp index 21b0e14..074184f 100755 --- a/src/xlsx/xlsxformat.cpp +++ b/src/xlsx/xlsxformat.cpp @@ -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;