sal_Char->char in editeng..eventattacher

Change-Id: Ia9c736042a07a17377db6d88c5bcd2b468e98777
Reviewed-on: https://gerrit.libreoffice.org/85471
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2019-12-19 08:22:49 +02:00
parent 7b1f3135de
commit a56955a4b3
10 changed files with 17 additions and 17 deletions

View file

@ -105,11 +105,11 @@ namespace o3tl {
}
static const sal_Unicode cNonBreakingSpace = 0xA0;
static const sal_Char pXMLImplWrdStt_ExcptLstStr[] = "WordExceptList.xml";
static const sal_Char pXMLImplCplStt_ExcptLstStr[] = "SentenceExceptList.xml";
static const sal_Char pXMLImplAutocorr_ListStr[] = "DocumentList.xml";
static const char pXMLImplWrdStt_ExcptLstStr[] = "WordExceptList.xml";
static const char pXMLImplCplStt_ExcptLstStr[] = "SentenceExceptList.xml";
static const char pXMLImplAutocorr_ListStr[] = "DocumentList.xml";
static const sal_Char
static const char
/* also at these beginnings - Brackets and all kinds of begin characters */
sImplSttSkipChars[] = "\"\'([{\x83\x84\x89\x91\x92\x93\x94",
/* also at these ends - Brackets and all kinds of begin characters */
@ -180,7 +180,7 @@ static bool lcl_IsSymbolChar( CharClass const & rCC, const OUString& rTxt,
return false;
}
static bool lcl_IsInAsciiArr( const sal_Char* pArr, const sal_Unicode c )
static bool lcl_IsInAsciiArr( const char* pArr, const sal_Unicode c )
{
bool bRet = false;
for( ; *pArr; ++pArr )
@ -2024,7 +2024,7 @@ bool SvxAutoCorrectLanguageLists::IsFileChanged_Imp()
void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp(
std::unique_ptr<SvStringsISortDtor>& rpLst,
const sal_Char* pStrmName,
const char* pStrmName,
tools::SvRef<SotStorage>& rStg)
{
if( rpLst )
@ -2094,7 +2094,7 @@ void SvxAutoCorrectLanguageLists::LoadXMLExceptList_Imp(
void SvxAutoCorrectLanguageLists::SaveExceptList_Imp(
const SvStringsISortDtor& rLst,
const sal_Char* pStrmName,
const char* pStrmName,
tools::SvRef<SotStorage> const &rStg,
bool bConvert )
{

View file

@ -499,7 +499,7 @@ std::unique_ptr<SvxFieldData> SvxUnoTextField::CreateFieldData() const throw()
else
aContent = mpImpl->msString2;
sal_Int32 nPos = aContent.lastIndexOf( sal_Char(' '), 0 );
sal_Int32 nPos = aContent.lastIndexOf( ' ', 0 );
if( nPos > 0 )
{
aFirstName = aContent.copy( 0, nPos );

View file

@ -29,7 +29,7 @@ using namespace ::com::sun::star;
extern "C" {
SAL_DLLPUBLIC_EXPORT void * embobj_component_getFactory(
const sal_Char * pImplName, void * pServiceManager,
const char * pImplName, void * pServiceManager,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
{
void * pRet = nullptr;

View file

@ -32,7 +32,7 @@ using namespace ::com::sun::star;
extern "C" {
SAL_DLLPUBLIC_EXPORT void * emboleobj_component_getFactory(
const sal_Char * pImplName, void * pServiceManager,
const char * pImplName, void * pServiceManager,
SAL_UNUSED_PARAMETER void * /*pRegistryKey*/ )
{
void * pRet = nullptr;

View file

@ -28,7 +28,7 @@ using namespace ::com::sun::star;
extern "C" {
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey )
{
void * pRet = 0;

View file

@ -29,7 +29,7 @@ using namespace ::com::sun::star;
extern "C" {
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory( const char * pImplName, void * pServiceManager, void * pRegistryKey )
{
void * pRet = 0;

View file

@ -50,7 +50,7 @@ static uno::Sequence< OUString > EmbedServer_getSupportedServiceNames() throw()
extern "C" {
SAL_DLLPUBLIC_EXPORT void * emser_component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
SAL_DLLPUBLIC_EXPORT void * emser_component_getFactory( const char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = nullptr;

View file

@ -1734,7 +1734,7 @@ namespace emfio
{
if ( nLen <= static_cast<sal_Int32>( mnEndPos - mpInputStream->Tell() ) )
{
std::unique_ptr<sal_Char[]> pBuf(new sal_Char[ nLen ]);
std::unique_ptr<char[]> pBuf(new char[ nLen ]);
mpInputStream->ReadBytes(pBuf.get(), nLen);
aText = OUString(pBuf.get(), nLen, GetCharSet());
}

View file

@ -865,7 +865,7 @@ Sequence< Reference<XEventListener> > EventAttacherImpl::attachMultipleEventList
extern "C"
{
SAL_DLLPUBLIC_EXPORT void * evtatt_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * )
const char * pImplName, void * pServiceManager, void * )
{
void * pRet = nullptr;

View file

@ -182,10 +182,10 @@ class EDITENG_DLLPUBLIC SvxAutoCorrectLanguageLists
bool IsFileChanged_Imp();
void LoadXMLExceptList_Imp( std::unique_ptr<SvStringsISortDtor>& rpLst,
const sal_Char* pStrmName,
const char* pStrmName,
tools::SvRef<SotStorage>& rStg);
static void SaveExceptList_Imp( const SvStringsISortDtor& rLst,
const sal_Char* pStrmName,
const char* pStrmName,
tools::SvRef<SotStorage> const & rStg,
bool bConvert = false);