diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-21 15:52:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-21 18:50:43 +0200 |
commit | a4fafab70dccd4df47166428b6e05d52d9bbdf3f (patch) | |
tree | 3eff4717a761138b639b7807220110271e8803dc /include/rtl/ustring.h | |
parent | 462f9d1f589a7afd66d3fc61925467d3b68e5b31 (diff) |
improve the comments of the number conversion functions
For the
rtl_str_to<NumberType>_WithLength
category of functions, the string does not need to be null-terminated
Change-Id: I1971c8c10b760743633523e6f680366eafdfc685
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119325
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/rtl/ustring.h')
-rw-r--r-- | include/rtl/ustring.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/rtl/ustring.h b/include/rtl/ustring.h index 3caca28d2f8a..b4990fec12eb 100644 --- a/include/rtl/ustring.h +++ b/include/rtl/ustring.h @@ -1119,11 +1119,10 @@ SAL_DLLPUBLIC sal_Int64 SAL_CALL rtl_ustr_toInt64( /** Interpret a string as a long integer. - This function cannot be used for language-specific conversion. The string - must be null-terminated. + This function cannot be used for language-specific conversion. @param str - a null-terminated string. + a string. @param radix the radix. Must be between RTL_USTR_MIN_RADIX (2) and RTL_USTR_MAX_RADIX |