diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-07-23 20:02:09 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-07-23 20:47:58 +0200 |
commit | 4f3ce1233cfdeb8e159b5c68858167fc586f734b (patch) | |
tree | c2a2406198a24c064ab201d9101c993e1bdbb12f /sw | |
parent | b0a0971d9f65168f9b82ec7a7ffaec9eea0b3e9e (diff) |
cid#1415621: illegal accesses
Change-Id: I89df786f25441aadf3172ce53228c8b465e62e3b
Reviewed-on: https://gerrit.libreoffice.org/40334
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/pagedesc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx index f49e8f8d6e74..13651d275d67 100644 --- a/sw/source/core/layout/pagedesc.cxx +++ b/sw/source/core/layout/pagedesc.cxx @@ -377,7 +377,7 @@ SwPageDesc* SwPageDesc::GetByName(SwDoc& rDoc, const OUString& rName) } } - for (size_t i = 0; i <= SAL_N_ELEMENTS(STR_POOLPAGE); ++i) + for (size_t i = 0; i < SAL_N_ELEMENTS(STR_POOLPAGE); ++i) { if (rName == SwResId(STR_POOLPAGE[i])) { |