diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-09 23:35:25 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-13 11:30:48 +0000 |
commit | 3e55e00662b50b02c289ca4a1d94d4306bd8c86b (patch) | |
tree | 8d8f33abc07e0f78bfcd8e291e81fcc307918912 /toolkit/source/awt | |
parent | 06bdd144eaf504b87cc918c4debf76bdeadea735 (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 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 09502c13c938..ef105df5f21e 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -617,15 +617,15 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, const ::com::sun::star::awt::WindowDescriptor& rDescriptor, Window* pParent, WinBits nWinBits ) { - String aServiceName( rDescriptor.WindowServiceName ); - aServiceName.ToLowerAscii(); + OUString aServiceName( rDescriptor.WindowServiceName ); + aServiceName = aServiceName.toAsciiLowerCase(); Window* pNewWindow = NULL; sal_uInt16 nType = ImplGetComponentType( aServiceName ); bool bFrameControl = false; - if ( aServiceName == String( "frame" ) ) + if ( aServiceName == "frame" ) bFrameControl = true; - if ( aServiceName == String( "tabcontrolnotabs" ) ) + if ( aServiceName == "tabcontrolnotabs" ) { nWinBits |= WB_NOBORDER; nType = ImplGetComponentType( String( "tabcontrol" ) ); @@ -1018,7 +1018,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, pNewWindow = new TabControl( pParent, nWinBits ); *ppNewComp = new VCLXTabPageContainer; } - else if ( aServiceName.EqualsAscii( "animatedimages" ) ) + else if ( aServiceName == "animatedimages" ) { pNewWindow = new Throbber( pParent, nWinBits ); *ppNewComp = new ::toolkit::AnimatedImagesPeer; |