From f0106e19303a3806a375833e2100538506ccbc0a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Dec 2019 11:54:43 +0200 Subject: sal_Char->char in canvas..codemaker Change-Id: Iaf46b42a17bc00da0f86daeafea7b5346c4a6360 Reviewed-on: https://gerrit.libreoffice.org/85372 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/controller/main/ChartDropTargetHelper.cxx | 2 +- chart2/source/controller/main/FeatureCommandDispatchBase.cxx | 2 +- chart2/source/controller/main/FeatureCommandDispatchBase.hxx | 2 +- chart2/source/inc/CommonFunctors.hxx | 4 ++-- chart2/workbench/addin/sampleaddin.cxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/main/ChartDropTargetHelper.cxx b/chart2/source/controller/main/ChartDropTargetHelper.cxx index 6ef4ff484539..15272dfc5963 100644 --- a/chart2/source/controller/main/ChartDropTargetHelper.cxx +++ b/chart2/source/controller/main/ChartDropTargetHelper.cxx @@ -40,7 +40,7 @@ std::vector< OUString > lcl_getStringsFromByteSequence( { std::vector< OUString > aResult; const sal_Int32 nLength = aByteSequence.getLength(); - const sal_Char * pBytes( reinterpret_cast< const sal_Char* >( aByteSequence.getConstArray())); + const char * pBytes( reinterpret_cast< const char* >( aByteSequence.getConstArray())); sal_Int32 nStartPos = 0; for( sal_Int32 nPos=0; nPosCommandGroup. */ - void implDescribeSupportedFeature( const sal_Char* pAsciiCommandURL, sal_uInt16 nId, + void implDescribeSupportedFeature( const char* pAsciiCommandURL, sal_uInt16 nId, sal_Int16 nGroup ); mutable SupportedFeatures m_aSupportedFeatures; diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx index e8818c67c972..d9daef13d574 100644 --- a/chart2/source/inc/CommonFunctors.hxx +++ b/chart2/source/inc/CommonFunctors.hxx @@ -75,7 +75,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString * pDouble, rtl_math_StringFormat_Automatic, rtl_math_DecimalPlaces_Max, // use maximum decimal places available - sal_Char( '.' ), // decimal separator + '.', // decimal separator true // remove trailing zeros ); } @@ -118,7 +118,7 @@ struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString fNumber, rtl_math_StringFormat_Automatic, rtl_math_DecimalPlaces_Max, // use maximum decimal places available - static_cast< sal_Char >( '.' ), + '.', true ); } diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx index 7376b872b9c9..44e04a6b9e3a 100644 --- a/chart2/workbench/addin/sampleaddin.cxx +++ b/chart2/workbench/addin/sampleaddin.cxx @@ -62,7 +62,7 @@ sal_Bool SAL_CALL component_writeInfo( } SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) + const char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void* pRet = 0; -- cgit