diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-08 20:40:19 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-08 22:58:21 +0100 |
commit | e377a65a1e6acf6241ce0bd2fc35a6a786cd8de9 (patch) | |
tree | 251e00afd6de372b1f07c5009c873afe33b5f2eb /sw/source/ui | |
parent | f7c14f57300255bb279ccd95d6b87347b1e0aec2 (diff) |
sw: remove pointless inheritance of SwChapterNumRules from SwBaseNumRules
Change-Id: I5426977d4ed5539d79335df0aa4bcccd71dd8966
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index c3eae29e8ff7..d669783bb769 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -91,13 +91,13 @@ IMPL_LINK_INLINE_END( SwNumNamesDlg, SelectHdl, ListBox *, pBox ) void SwNumNamesDlg::SetUserNames(const OUString *pList[]) { sal_uInt16 nSelect = 0; - for(sal_uInt16 i = 0; i < SwBaseNumRules::nMaxRules; ++i) + for (sal_uInt16 i = 0; i < SwChapterNumRules::nMaxRules; ++i) { if(pList[i]) { m_pFormBox->RemoveEntry(i); m_pFormBox->InsertEntry(*pList[i], i); - if(i == nSelect && nSelect < SwBaseNumRules::nMaxRules) + if (i == nSelect && nSelect < SwChapterNumRules::nMaxRules) nSelect++; } } |