diff options
Diffstat (limited to 'sw/source/ui/misc/outline.cxx')
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index 112d35de150d..424b4c22b381 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -93,7 +93,7 @@ void SwNumNamesDlg::SetUserNames(const OUString *pList[]) { m_xFormBox->remove(i); m_xFormBox->insert_text(i, *pList[i]); - if (i == nSelect && nSelect < SwChapterNumRules::nMaxRules) + if (i == nSelect) nSelect++; } } |