diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 08:58:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:05:34 +0200 |
commit | 5eab9486c325a0d907f6fc382dceb5c47d336b65 (patch) | |
tree | 42088887b49353c00306a3469b2d7f1530a10f78 /toolkit/source/awt/vclxtoolkit.cxx | |
parent | 75be8fd665d1ded3bb71febfc81eb42a4d1b30e3 (diff) |
convert TOOLKIT module from String to OUString
Change-Id: Ibc5ffbffa0ddc6a80c3a95406b324cda09f7c9e1
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index ef105df5f21e..4e3f6cdecb03 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -335,7 +335,7 @@ static int SAL_CALL ComponentInfoCompare( const void* pFirst, const void* pSecon } } -sal_uInt16 ImplGetComponentType( const String& rServiceName ) +sal_uInt16 ImplGetComponentType( const OUString& rServiceName ) { static bool bSorted = false; if( !bSorted ) @@ -628,7 +628,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, if ( aServiceName == "tabcontrolnotabs" ) { nWinBits |= WB_NOBORDER; - nType = ImplGetComponentType( String( "tabcontrol" ) ); + nType = ImplGetComponentType( OUString( "tabcontrol" ) ); } if ( !pParent ) { @@ -705,7 +705,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXEdit; break; case WINDOW_ERRORBOX: - pNewWindow = new ErrorBox( pParent, nWinBits, String() ); + pNewWindow = new ErrorBox( pParent, nWinBits, OUString() ); *ppNewComp = new VCLXMessageBox; break; case WINDOW_FIXEDBITMAP: @@ -754,7 +754,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXButton; break; case WINDOW_INFOBOX: - pNewWindow = new InfoBox( pParent, String() ); + pNewWindow = new InfoBox( pParent, OUString() ); *ppNewComp = new VCLXMessageBox; break; case WINDOW_LISTBOX: @@ -775,7 +775,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXButton; break; case WINDOW_MESSBOX: - pNewWindow = new MessBox( pParent, nWinBits, String(), String() ); + pNewWindow = new MessBox( pParent, nWinBits, OUString(), OUString() ); *ppNewComp = new VCLXMessageBox; break; case WINDOW_METRICBOX: @@ -838,7 +838,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, *ppNewComp = new VCLXButton; break; case WINDOW_QUERYBOX: - pNewWindow = new QueryBox( pParent, nWinBits, String() ); + pNewWindow = new QueryBox( pParent, nWinBits, OUString() ); *ppNewComp = new VCLXMessageBox; break; case WINDOW_RADIOBUTTON: @@ -914,7 +914,7 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, pNewWindow = new TriStateBox( pParent, nWinBits ); break; case WINDOW_WARNINGBOX: - pNewWindow = new WarningBox( pParent, nWinBits, String() ); + pNewWindow = new WarningBox( pParent, nWinBits, OUString() ); *ppNewComp = new VCLXMessageBox; break; case WINDOW_WORKWINDOW: |