diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 1b231fc9d126..9fcf95674542 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -1706,9 +1706,7 @@ IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, SelectFactoryHdl) OUString* pFactory = (OUString*)(sal_uIntPtr)aActiveLB.GetEntryData( aActiveLB.GetSelectEntryPos() ); if ( pFactory ) { - String aFactory( *pFactory ); - aFactory.ToLowerAscii(); - SetFactory( aFactory, sal_False ); + SetFactory( OUString( *pFactory ).toAsciiLowerCase(), sal_False ); aSelectFactoryLink.Call( this ); } |