diff options
Diffstat (limited to 'include/rtl/math.hxx')
-rw-r--r-- | include/rtl/math.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rtl/math.hxx b/include/rtl/math.hxx index 4cd21eae91fb..a965c7b38bca 100644 --- a/include/rtl/math.hxx +++ b/include/rtl/math.hxx @@ -181,7 +181,7 @@ inline double stringToDouble(rtl::OString const & rString, cDecSeparator, cGroupSeparator, pStatus, &pEnd); if (pParsedEnd != NULL) - *pParsedEnd = (sal_Int32)(pEnd - pBegin); + *pParsedEnd = static_cast<sal_Int32>(pEnd - pBegin); return fResult; } @@ -200,7 +200,7 @@ inline double stringToDouble(rtl::OUString const & rString, cDecSeparator, cGroupSeparator, pStatus, &pEnd); if (pParsedEnd != NULL) - *pParsedEnd = (sal_Int32)(pEnd - pBegin); + *pParsedEnd = static_cast<sal_Int32>(pEnd - pBegin); return fResult; } |