summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-06 16:59:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-06 20:00:28 +0100
commit05319245037373e6a794348cb875346096f32c2f (patch)
tree5d0d7ac6d2a5863fbc68db91063b9069d5f49dd4 /sc
parentfce747852adcc2c20a48e525da872fd3cad3ef04 (diff)
loplugin:implicitboolconversion
...in non-dependent templated code that Clang trunk now apparently processes more aggressively, presumably since <https://github.com/llvm/llvm-project/ commit/878a24ee244a24c39d1c57e9af2e88c621f7cce9> "Reapply 'Fix crash on switch conditions of non-integer types in templates'" Change-Id: I561d046c736b4e9574565c01daf0f59e7d5ec414 Reviewed-on: https://gerrit.libreoffice.org/84656 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 233ebaea14a3..a0a0a8e4bc46 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1207,9 +1207,9 @@ public:
size_t GetWindowSize() const { return mpDVR->GetRefRowSize(); }
- size_t GetStartFixed() const { return bIsStartFixed; }
+ bool GetStartFixed() const { return bIsStartFixed; }
- size_t GetEndFixed() const { return bIsEndFixed; }
+ bool GetEndFixed() const { return bIsEndFixed; }
protected:
bool bIsStartFixed, bIsEndFixed;