summaryrefslogtreecommitdiff
path: root/io/source/TextInputStream/TextInputStream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/TextInputStream/TextInputStream.cxx')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index ceee33a90634..09d2eec3da69 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -310,7 +310,7 @@ sal_Int32 OTextInputStream::implReadNext()
nTargetCount += rtl_convertTextToUnicode(
mConvText2Unicode,
mContextText2Unicode,
- (const sal_Char*) &( pbSource[nSourceCount] ),
+ reinterpret_cast<const char*>(&( pbSource[nSourceCount] )),
nTotalRead - nSourceCount,
mpBuffer + mnCharsInBuffer + nTargetCount,
nFreeBufferSize - nTargetCount,