diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-23 11:55:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-23 15:12:29 +0100 |
commit | 1a53e60d444385c9b97ed16d245edbd44f8a5ac4 (patch) | |
tree | 2afe57cb7e3926367dd665999713b47efa80aa3d /tools/source/stream | |
parent | b0543bb714e5a646dae0ede594df4a564e569951 (diff) |
sal_Char->char in tools
Change-Id: Id8be02e445ac439439b2f78ba4a7376dd19ce360
Reviewed-on: https://gerrit.libreoffice.org/85744
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source/stream')
-rw-r--r-- | tools/source/stream/stream.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 06b09c2a4a6d..a85f4d1be5a2 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -450,10 +450,10 @@ bool SvStream::ReadByteStringLine( OUString& rStr, rtl_TextEncoding eSrcCharSet, bool SvStream::ReadLine( OString& rStr, sal_Int32 nMaxBytesToRead ) { - sal_Char buf[256+1]; + char buf[256+1]; bool bEnd = false; sal_uInt64 nOldFilePos = Tell(); - sal_Char c = 0; + char c = 0; std::size_t nTotalLen = 0; OStringBuffer aBuf(4096); @@ -621,7 +621,7 @@ OString read_zeroTerminated_uInt8s_ToOString(SvStream& rStream) { OStringBuffer aOutput(256); - sal_Char buf[ 256 + 1 ]; + char buf[ 256 + 1 ]; bool bEnd = false; sal_uInt64 nFilePos = rStream.Tell(); @@ -632,7 +632,7 @@ OString read_zeroTerminated_uInt8s_ToOString(SvStream& rStream) break; std::size_t nReallyRead = nLen; - const sal_Char* pPtr = buf; + const char* pPtr = buf; while (nLen && *pPtr) { ++pPtr; @@ -1516,7 +1516,7 @@ void SvStream::EncryptBuffer(void* pStart, std::size_t nLen) const } } -static unsigned char implGetCryptMask(const sal_Char* pStr, sal_Int32 nLen, long nVersion) +static unsigned char implGetCryptMask(const char* pStr, sal_Int32 nLen, long nVersion) { unsigned char nCryptMask = 0; |