summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/newhelp.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-09-09 23:35:25 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-09-13 11:30:48 +0000
commit3e55e00662b50b02c289ca4a1d94d4306bd8c86b (patch)
tree8d8f33abc07e0f78bfcd8e291e81fcc307918912 /sfx2/source/appl/newhelp.cxx
parent06bdd144eaf504b87cc918c4debf76bdeadea735 (diff)
String to OUString
This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r--sfx2/source/appl/newhelp.cxx4
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 );
}