From d05287a9f1bd1aa82d4485013248bb24e692c6b6 Mon Sep 17 00:00:00 2001 From: Krisztian Pinter Date: Mon, 18 Feb 2013 18:45:17 +0100 Subject: RTL_CONSTASCII_USTRINGPARAM removals Removed all occurences of RTL_CONSTASCII_USTRINGPARAM in chart2. Change-Id: I0ab188e2d67a5fc17a3653e5213031f6e2c2581d Reviewed-on: https://gerrit.libreoffice.org/2244 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- chart2/source/controller/dialogs/res_ErrorBar.cxx | 2 +- chart2/source/controller/dialogs/tp_DataSource.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/controller/dialogs') diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index 3b1fb4fe52e1..4c1877824401 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx @@ -272,7 +272,7 @@ void ErrorBarResources::UpdateControlStates() if( bIsPercentage ) { - aCustomUnit = String( RTL_CONSTASCII_USTRINGPARAM( " %" )); + aCustomUnit = " %"; m_aMfPositive.SetDecimalDigits( 1 ); m_aMfPositive.SetSpinSize( 10 ); m_aMfNegative.SetDecimalDigits( 1 ); diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 257a2773d809..af14ac42fae5 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -329,7 +329,7 @@ DataSourceTabPage::DataSourceTabPage( // set symbol font for arrows // note: StarSymbol is substituted to OpenSymbol for OOo Font aSymbolFont( m_aBTN_UP.GetFont()); - aSymbolFont.SetName( String( RTL_CONSTASCII_USTRINGPARAM( "StarSymbol" ))); + aSymbolFont.SetName( "StarSymbol" ); m_aBTN_UP.SetControlFont( aSymbolFont ); m_aBTN_DOWN.SetControlFont( aSymbolFont ); -- cgit