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:
@@ -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]))
|
||||
{
|
||||
|
Reference in New Issue
Block a user