diff options
Diffstat (limited to 'sw/source/core/doc/DocumentLinksAdministrationManager.cxx')
-rw-r--r-- | sw/source/core/doc/DocumentLinksAdministrationManager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx index 02a5dac0a256..4a1fe172789a 100644 --- a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx +++ b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx @@ -115,10 +115,10 @@ namespace SwSection* pSect = pSectFormat->GetSection(); if( pSect ) { - OUString sNm( (bCaseSensitive) + OUString sNm( bCaseSensitive ? pSect->GetSectionName() : GetAppCharClass().lowercase( pSect->GetSectionName() )); - OUString sCompare( (bCaseSensitive) + OUString sCompare( bCaseSensitive ? pItem->m_Item : GetAppCharClass().lowercase( pItem->m_Item ) ); if( sNm == sCompare ) |