diff options
Diffstat (limited to 'sal/textenc/convertsimple.cxx')
-rw-r--r-- | sal/textenc/convertsimple.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx index 076641638982..b5c7f0e1bb63 100644 --- a/sal/textenc/convertsimple.cxx +++ b/sal/textenc/convertsimple.cxx @@ -518,7 +518,7 @@ sal_Size sal::detail::textenc::convertCharToUnicode( sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes) { sal_Unicode cConv; - const ImplByteConvertData* pConvertData = (const ImplByteConvertData*)pData; + const ImplByteConvertData* pConvertData = static_cast<const ImplByteConvertData*>(pData); sal_Unicode* pEndDestBuf; const char* pEndSrcBuf; @@ -578,7 +578,7 @@ sal_Size sal::detail::textenc::convertUnicodeToChar( sal_Size * pSrcCvtChars) { sal_Unicode c; - const ImplByteConvertData* pConvertData = (const ImplByteConvertData*)pData; + const ImplByteConvertData* pConvertData = static_cast<const ImplByteConvertData*>(pData); char* pEndDestBuf; const sal_Unicode* pEndSrcBuf; int i; |