[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed Oct 23 13:09:16 PDT 2013
sc/source/core/data/column2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fe5fa933e2c237cf902e65de821b5aa29c56e9a7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Oct 23 22:08:49 2013 +0200
-Werror,-Wtautological-constant-out-of-range-compare
...I assume this is what was intended?
Change-Id: I36e4602937f45ba5f8cc17d3e0f0a69ab373e1dc
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index a3bdef5..5113435 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1238,7 +1238,7 @@ SCROW ScColumn::GetNotePosition( size_t nIndex ) const
size_t nCount = 0; // Number of notes encountered so far.
for (; it != itEnd; ++it)
{
- if (!it->type != sc::element_type_cellnote)
+ if (it->type != sc::element_type_cellnote)
// Skip the empty blocks.
continue;
More information about the Libreoffice-commits
mailing list