From e994b3fc3b2c9b7d39a715fc4d9453e06434d457 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Dec 2019 13:29:13 +0200 Subject: sal_Char->char in remotebridges..sax Change-Id: I6d32942960a5e997f16eb1301c45495661cd4cea Reviewed-on: https://gerrit.libreoffice.org/85514 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/textenc/convertisciidevangari.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sal/textenc/convertisciidevangari.cxx') diff --git a/sal/textenc/convertisciidevangari.cxx b/sal/textenc/convertisciidevangari.cxx index ae25d811df2d..9367bbb747e9 100644 --- a/sal/textenc/convertisciidevangari.cxx +++ b/sal/textenc/convertisciidevangari.cxx @@ -257,13 +257,13 @@ sal_Size UnicodeToIsciiDevanagari::convert(sal_Unicode const* pSrcBuf, sal_Size sal_Unicode cHighSurrogate = m_cHighSurrogate; sal_uInt32 nInfo = 0; sal_Size nConverted = 0; - sal_Char* pDestBufPtr = pDestBuf; - sal_Char* pDestBufEnd = pDestBuf + nDestBytes; + char* pDestBufPtr = pDestBuf; + char* pDestBufEnd = pDestBuf + nDestBytes; for (; nConverted < nSrcChars; ++nConverted) { bool bUndefined = true; sal_uInt32 c = *pSrcBuf++; - sal_Char cSpecialChar = 0; + char cSpecialChar = 0; if (cHighSurrogate == 0) { if (ImplIsHighSurrogate(c)) @@ -383,7 +383,7 @@ sal_Size UnicodeToIsciiDevanagari::convert(sal_Unicode const* pSrcBuf, sal_Size { goto no_output; } - *pDestBufPtr++ = static_cast< sal_Char >( + *pDestBufPtr++ = static_cast< char >( ranges[i].byte + (c - ranges[i].unicode)); m_cPrevChar = c; goto done; -- cgit