diff options
Diffstat (limited to 'rsc/source/tools/rscchar.cxx')
-rw-r--r-- | rsc/source/tools/rscchar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/tools/rscchar.cxx b/rsc/source/tools/rscchar.cxx index 38f0ec6db52f..e216c13c09e5 100644 --- a/rsc/source/tools/rscchar.cxx +++ b/rsc/source/tools/rscchar.cxx @@ -151,7 +151,7 @@ char * RscChar::MakeUTF8( char * pStr, sal_uInt16 nTextEncoding ) hConv = rtl_createUnicodeToTextConverter( RTL_TEXTENCODING_UTF8 ); // factor of 6 is the maximum size of an UNICODE character as utf8 - char * pUtf8 = (char *)rtl_allocateMemory( nUniSize * 6 ); + char * pUtf8 = static_cast<char *>(rtl_allocateMemory( nUniSize * 6 )); rtl_convertUnicodeToText( hConv, 0, pUniCode, nUniSize, pUtf8, nUniSize * 6, |