diff options
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 5b09cdbb3353..1b231fc9d126 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -1615,7 +1615,8 @@ void SfxHelpIndexWindow_Impl::SetActiveFactory() for ( sal_uInt16 i = 0; i < aActiveLB.GetEntryCount(); ++i ) { OUString* pFactory = (OUString*)(sal_uIntPtr)aActiveLB.GetEntryData(i); - if ( pFactory->toAsciiLowerCase() == pIPage->GetFactory() ) + *pFactory = pFactory->toAsciiLowerCase(); + if ( *pFactory == pIPage->GetFactory() ) { if ( aActiveLB.GetSelectEntryPos() != i ) { |