summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-10-04 08:47:02 +0300
committerDennis Francis <dennis.francis@collabora.co.uk>2017-11-21 13:49:51 +0530
commit005051e405687012e31bdb3db1a0cc26d29f70cb (patch)
tree24ff26ddcc3f01023aca3fba1d3ec1096792868e
parentae4067e9054f2aba8a8c65a5ae78bf551c0cdd10 (diff)
-Werror,-Wsign-compare
Change-Id: Ide03e0ae1fe97e1a09a767908a981a1e803a3474
-rw-r--r--sc/source/core/data/document.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index f15107bc3fe7..62f4baa471c3 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -6747,7 +6747,7 @@ ScMutationGuard::ScMutationGuard(ScDocument* pDocument, ScMutationGuardFlags nFl
mpDocument(pDocument),
mnFlags(nFlags)
{
- for (auto b = 0; b < static_cast<std::size_t>(ScMutationGuardFlags::N); b++)
+ for (unsigned b = 0; b < static_cast<std::size_t>(ScMutationGuardFlags::N); b++)
{
if (static_cast<std::size_t>(mnFlags) & (1 << b))
{
@@ -6759,7 +6759,7 @@ ScMutationGuard::ScMutationGuard(ScDocument* pDocument, ScMutationGuardFlags nFl
ScMutationGuard::~ScMutationGuard()
{
#ifndef NDEBUG
- for (auto b = 0; b < static_cast<std::size_t>(ScMutationGuardFlags::N); b++)
+ for (unsigned b = 0; b < static_cast<std::size_t>(ScMutationGuardFlags::N); b++)
{
if (static_cast<std::size_t>(mnFlags) & (1 << b))
{