[loplugin:simplifybool]

Change-Id: I20177b47fd756558430420710c0f497be49c8948
Reviewed-on: https://gerrit.libreoffice.org/30584
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet 2016-11-05 07:47:14 +01:00
parent 67e385ac8d
commit 6fe0706f67

View File

@ -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);
}
}