diff --git a/sc/source/core/data/columnspanset.cxx b/sc/source/core/data/columnspanset.cxx index 255c6fa932f9..efb79d0ea094 100644 --- a/sc/source/core/data/columnspanset.cxx +++ b/sc/source/core/data/columnspanset.cxx @@ -385,7 +385,7 @@ bool SingleColumnSpanSet::empty() const { // Empty if there's only the 0..MAXROW span with false. ColumnSpansType::const_iterator it = maSpans.begin(); - return (it->first == 0) && (it->second == false) && (++it != maSpans.end()) && (it->first == MAXROWCOUNT); + return (it->first == 0) && !(it->second) && (++it != maSpans.end()) && (it->first == MAXROWCOUNT); } }