summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/inputstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/inputstream.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 96bc1ebce254..19e88810799e 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -90,7 +90,7 @@ XInputStream_impl::readBytes(
// if any code relies on this, so be conservative---SB):
if (nBytesRead != sal::static_int_cast<sal_uInt64>(nBytesToRead) )
aData.realloc(sal_Int32(nBytesRead));
- return ( sal_Int32 ) nBytesRead;
+ return static_cast<sal_Int32>(nBytesRead);
}
sal_Int32 SAL_CALL