diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 74396f875e7f..d1146b5a05b5 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -2809,7 +2809,7 @@ void SwTokenWindow::SetForm(SwForm& rForm, sal_uInt16 nL) if(m_nLevel < MAXLEVEL || rForm.GetTOXType() == TOX_AUTHORITIES) { // #i21237# - SwFormTokens aPattern = m_pForm->GetPattern(m_nLevel + 1); + SwFormTokens aPattern = m_pForm->GetPattern(o3tl::sanitizing_inc(m_nLevel)); bool bLastWasText = false; //assure alternating text - code - text SwTOXWidget* pSetActiveControl = nullptr; |