Kaydet (Commit) d293fa9e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Use bool

Change-Id: I12f0a6331c435c1eac692e5c20a173ce84830290
üst f762bed1
......@@ -437,7 +437,7 @@ sal_Size ImplUnicodeToUTF7( SAL_UNUSED_PARAMETER const void*, void* pContext,
sal_Unicode c = '\0';
int bEnd = sal_False;
int bShifted;
int bNeedShift;
bool bNeedShift;
sal_uInt32 nBitBuffer;
sal_uInt32 nBitBufferTemp;
sal_uInt32 nBufferBits;
......@@ -496,7 +496,7 @@ sal_Size ImplUnicodeToUTF7( SAL_UNUSED_PARAMETER const void*, void* pContext,
else
{
bEnd = sal_True;
bNeedShift = sal_False;
bNeedShift = false;
}
if ( bShifted )
......
......@@ -75,7 +75,7 @@ sal_Size ImplConvertUtf8ToUnicode(
RTL_TEXTENCODING_UTF8 and RTL_TEXTENCODING_JAVA_UTF8.
*/
int bJavaUtf8 = pData != NULL;
bool bJavaUtf8 = pData != NULL;
sal_uInt32 nUtf32 = 0;
int nShift = -1;
bool bCheckBom = true;
......@@ -95,7 +95,7 @@ sal_Size ImplConvertUtf8ToUnicode(
while (pSrcBufPtr < pSrcBufEnd)
{
bool bUndefined = false;
int bConsume = true;
bool bConsume = true;
sal_uInt32 nChar = *pSrcBufPtr++;
if (nShift < 0)
if (nChar <= 0x7F)
......@@ -271,7 +271,7 @@ sal_Size ImplConvertUnicodeToUtf8(
sal_Size nSrcChars, char * pDestBuf, sal_Size nDestBytes, sal_uInt32 nFlags,
sal_uInt32 * pInfo, sal_Size * pSrcCvtChars)
{
int bJavaUtf8 = pData != NULL;
bool bJavaUtf8 = pData != NULL;
sal_Unicode nHighSurrogate = 0xFFFF;
sal_uInt32 nInfo = 0;
sal_Unicode const * pSrcBufPtr = pSrcBuf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment