diff options
-rw-r--r-- | sal/textenc/tcvtutf7.cxx | 4 | ||||
-rw-r--r-- | sal/textenc/tcvtutf8.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sal/textenc/tcvtutf7.cxx b/sal/textenc/tcvtutf7.cxx index ed87e6ffbc53..367a7c85439f 100644 --- a/sal/textenc/tcvtutf7.cxx +++ b/sal/textenc/tcvtutf7.cxx @@ -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 ) diff --git a/sal/textenc/tcvtutf8.cxx b/sal/textenc/tcvtutf8.cxx index a8b262ac51de..932d13e883a6 100644 --- a/sal/textenc/tcvtutf8.cxx +++ b/sal/textenc/tcvtutf8.cxx @@ -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; |