summaryrefslogtreecommitdiff
path: root/sal/textenc/convertbig5hkscs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/convertbig5hkscs.cxx')
-rw-r--r--sal/textenc/convertbig5hkscs.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/convertbig5hkscs.cxx b/sal/textenc/convertbig5hkscs.cxx
index bec9f66abcee..034b206cb9f0 100644
--- a/sal/textenc/convertbig5hkscs.cxx
+++ b/sal/textenc/convertbig5hkscs.cxx
@@ -306,7 +306,7 @@ sal_Size ImplConvertUnicodeToBig5Hkscs(void const * pData,
if (pContext)
nHighSurrogate
- = ((ImplUnicodeToTextContext *) pContext)->m_nHighSurrogate;
+ = static_cast<ImplUnicodeToTextContext *>(pContext)->m_nHighSurrogate;
for (; nConverted < nSrcChars; ++nConverted)
{
@@ -472,7 +472,7 @@ sal_Size ImplConvertUnicodeToBig5Hkscs(void const * pData,
}
if (pContext)
- ((ImplUnicodeToTextContext *) pContext)->m_nHighSurrogate
+ static_cast<ImplUnicodeToTextContext *>(pContext)->m_nHighSurrogate
= nHighSurrogate;
if (pInfo)
*pInfo = nInfo;