From e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 6 May 2013 16:32:22 +0200 Subject: remove usage of RTL_CONSTASCII_USTRINGPARAM Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5 --- cui/source/dialogs/colorpicker.cxx | 4 ++-- cui/source/dialogs/cuigaldlg.cxx | 4 ++-- cui/source/options/optgdlg.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx index c0f0831c1bc8..46d3053db8f7 100644 --- a/cui/source/dialogs/colorpicker.cxx +++ b/cui/source/dialogs/colorpicker.cxx @@ -1533,8 +1533,8 @@ Sequence< OUString > SAL_CALL ColorPicker_getSupportedServiceNames() throw( Runt ColorPicker::ColorPicker( Reference< XComponentContext > const & xContext ) : ColorPickerBase( m_aMutex ) , mxContext( xContext ) -, msColorKey( RTL_CONSTASCII_USTRINGPARAM( "Color" ) ) -, msModeKey( RTL_CONSTASCII_USTRINGPARAM( "Mode" ) ) +, msColorKey( "Color" ) +, msModeKey( "Mode" ) , mnColor( 0 ) , mnMode( 0 ) { diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index ce6581001dce..f333f10ac687 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -824,9 +824,9 @@ SfxTabPage* TPGalleryThemeProperties::Create( Window* pParent, const SfxItemSet& OUString TPGalleryThemeProperties::addExtension( const OUString& _rDisplayText, const OUString& _rExtension ) { - OUString sAllFilter( RTL_CONSTASCII_USTRINGPARAM( "(*.*)" ) ); + OUString sAllFilter( "(*.*)" ); OUString sOpenBracket( " (" ); - OUString sCloseBracket( RTL_CONSTASCII_USTRINGPARAM( ")" ) ); + OUString sCloseBracket( ")" ); OUString sRet = _rDisplayText; if ( sRet.indexOf( sAllFilter ) == -1 ) diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index e1ab16c88171..86e6f48017e2 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -634,7 +634,7 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet) aAutoStr += m_pIconStyleLB->GetEntry( aIconStyleItemId[nAutoStyle] ); m_pIconStyleLB->RemoveEntry( 0 ); - m_pIconStyleLB->InsertEntry( aAutoStr += OUString(RTL_CONSTASCII_USTRINGPARAM(")") ), 0 ); + m_pIconStyleLB->InsertEntry( aAutoStr += OUString(")" ), 0 ); // separate auto and other icon themes m_pIconStyleLB->SetSeparatorPos( 0 ); } -- cgit