summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-19 08:22:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-19 08:12:46 +0100
commita56955a4b323dd3e78ea49f2b3f3eebca5d5586c (patch)
treee2b59e7e47c8f54543d495e2849eec728d820e29 /editeng/source
parent7b1f3135de3211b0b750571ecdcd9dcab752b544 (diff)
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>
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/misc/svxacorr.cxx14
-rw-r--r--editeng/source/uno/unofield.cxx2
2 files changed, 8 insertions, 8 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index cad718e86f6a..8160a448925f 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -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 )
{
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index d6fc905078c2..66e2ad13a647 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -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 );