summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-23 22:08:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-23 22:08:49 +0200
commitfe5fa933e2c237cf902e65de821b5aa29c56e9a7 (patch)
tree803b72d7ba59585196421494ea7feb599740e1d0
parent79acd67d1f79abc54ba7ef872d660fffff78849a (diff)
-Werror,-Wtautological-constant-out-of-range-compare
...I assume this is what was intended? Change-Id: I36e4602937f45ba5f8cc17d3e0f0a69ab373e1dc
-rw-r--r--sc/source/core/data/column2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index a3bdef50f9d0..5113435d4e03 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;