summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docdde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docdde.cxx')
-rw-r--r--sw/source/core/doc/docdde.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx
index c23a1d39cb..6d4daf8972 100644
--- a/sw/source/core/doc/docdde.cxx
+++ b/sw/source/core/doc/docdde.cxx
@@ -99,7 +99,9 @@ BOOL lcl_FindSection( const SwSectionFmtPtr& rpSectFmt, void* pArgs, bool bCaseS
SwSection* pSect = rpSectFmt->GetSection();
if( pSect )
{
- String sNm( bCaseSensitive ? pSect->GetName() : GetAppCharClass().lower( pSect->GetName() ));
+ String sNm( (bCaseSensitive)
+ ? pSect->GetSectionName()
+ : GetAppCharClass().lower( pSect->GetSectionName() ));
String sCompare( (bCaseSensitive)
? pItem->m_Item
: GetAppCharClass().lower( pItem->m_Item ) );