summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/layout/pagedesc.cxx2
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]))
{