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>
This commit is contained in:
Julien Nabet
2017-07-23 20:02:09 +02:00
parent b0a0971d9f
commit 4f3ce1233c

View File

@@ -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]))
{