summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 11:05:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 13:10:29 +0100
commit4d725e38b5cb53d039dfb6db0940c91ce62ce746 (patch)
tree2479a3b581f83f6f7ca305d9d0e176ef9ffc9ecb /editeng/inc
parent6fa4c3e4778959d4591c053461329d396741ee64 (diff)
loplugin:singlevalfields in editeng
Change-Id: I369090dd2da59e9227d633ff8390518d38769db1 Reviewed-on: https://gerrit.libreoffice.org/64603 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/edtspell.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/inc/edtspell.hxx b/editeng/inc/edtspell.hxx
index 82ed2f618e9d..53565fd71d9e 100644
--- a/editeng/inc/edtspell.hxx
+++ b/editeng/inc/edtspell.hxx
@@ -62,7 +62,7 @@ public:
*/
class WrongList
{
- static size_t Valid;
+ static constexpr size_t Valid = std::numeric_limits<size_t>::max();
std::vector<editeng::MisspellRange> maRanges;
size_t mnInvalidStart;