diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-18 11:54:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-18 14:18:55 +0100 |
commit | f0106e19303a3806a375833e2100538506ccbc0a (patch) | |
tree | 2f63b5e1de568d1c568be0575c193ec0ea804947 /chart2 | |
parent | 97d736d27435fb26d5609000f77bd79ece08572e (diff) |
sal_Char->char in canvas..codemaker
Change-Id: Iaf46b42a17bc00da0f86daeafea7b5346c4a6360
Reviewed-on: https://gerrit.libreoffice.org/85372
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
5 files changed, 6 insertions, 6 deletions
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; nPos<nLength; ++nPos ) { diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.cxx b/chart2/source/controller/main/FeatureCommandDispatchBase.cxx index 95d77a357803..90dcf77b2482 100644 --- a/chart2/source/controller/main/FeatureCommandDispatchBase.cxx +++ b/chart2/source/controller/main/FeatureCommandDispatchBase.cxx @@ -78,7 +78,7 @@ void FeatureCommandDispatchBase::dispatch( const util::URL& URL, } } -void FeatureCommandDispatchBase::implDescribeSupportedFeature( const sal_Char* pAsciiCommandURL, +void FeatureCommandDispatchBase::implDescribeSupportedFeature( const char* pAsciiCommandURL, sal_uInt16 nId, sal_Int16 nGroup ) { ControllerFeature aFeature; diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx index b6ed23d3d073..e1125cd8e76a 100644 --- a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx +++ b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx @@ -85,7 +85,7 @@ protected: the command group of the feature. This is important for configuring the controller UI by the user, see also <type scope="css::frame">CommandGroup</type>. */ - 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; |