summaryrefslogtreecommitdiff
path: root/vcl/generic/print/psputil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/generic/print/psputil.cxx')
-rw-r--r--vcl/generic/print/psputil.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/psputil.cxx b/vcl/generic/print/psputil.cxx
index 9d47556fb3d4..ecea28f1b886 100644
--- a/vcl/generic/print/psputil.cxx
+++ b/vcl/generic/print/psputil.cxx
@@ -223,7 +223,7 @@ ConverterFactory::Convert (const sal_Unicode *pText, int nTextLen,
rtl_UnicodeToTextContext aContext = rtl_createUnicodeToTextContext (aConverter);
sal_Size nSize = rtl_convertUnicodeToText (aConverter, aContext,
- pText, nTextLen, (sal_Char*)pBuffer, nBufferSize,
+ pText, nTextLen, reinterpret_cast<char*>(pBuffer), nBufferSize,
nCvtFlags, &nCvtInfo, &nCvtChars);
rtl_destroyUnicodeToTextContext (aConverter, aContext);