sal/inc/rtl/string.hxx | 3 +-- sal/inc/rtl/ustring.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit d5c5800bffe97911497a0603567417dea15f295f Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Apr 3 07:38:00 2012 +0200 I'm dumb, fromAscii() stops at \0. diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx index a00e186..0f6246b 100644 --- a/sal/inc/rtl/string.hxx +++ b/sal/inc/rtl/string.hxx @@ -196,8 +196,7 @@ public: New string from a string literal. If there are any embedded \0's in the string literal, the result is undefined. - Use the overload that explicitly accepts length or cast the literal - explicitly to const char*. + Use the overload that explicitly accepts length. @since LibreOffice 3.6 diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index 518ef3d..ee1ba7f 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -191,7 +191,7 @@ public: providing the encoding to use for the conversion. If there are any embedded \0's in the string literal, the result is undefined. - Use the overload that explicitly accepts length or fromAscii(). + Use the overload that explicitly accepts length. @param literal the 8-bit ASCII string literal
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits