summaryrefslogtreecommitdiff
path: root/sal/textenc/tcvtbyte.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:05:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:24 +0100
commitd57d81e529a44d8042401e36057a69ebe97e870a (patch)
tree3c434c6998bb9c8754c9b662c4bdb485c0aff29b /sal/textenc/tcvtbyte.cxx
parentcf54f2a10f128cf5d79397911b5be710e7081963 (diff)
Clean up C-style casts from pointers to void
Change-Id: I5e370445affbcd32b05588111f74590bf24f39d6
Diffstat (limited to 'sal/textenc/tcvtbyte.cxx')
-rw-r--r--sal/textenc/tcvtbyte.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/tcvtbyte.cxx b/sal/textenc/tcvtbyte.cxx
index 0248e01570b8..834e91a44959 100644
--- a/sal/textenc/tcvtbyte.cxx
+++ b/sal/textenc/tcvtbyte.cxx
@@ -127,7 +127,7 @@ sal_Size ImplUpperCharToUnicode( const void* pData,
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;