[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - offapi/com

Michael Stahl mstahl at redhat.com
Mon Jan 25 06:49:47 PST 2016


 offapi/com/sun/star/i18n/ParseResult.idl |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 2c1f8f1515c126d03ebf46ae9963f822910b2688
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Jan 21 10:41:22 2016 +0100

    offapi: ParseResult documentation makes no sense
    
    fix confusion between characters, code points and code units
    
    Change-Id: I315735e103799ff2fb53e99442d500b998f50304
    (cherry picked from commit 6c81b5fc685b487f4c777cca2bae77d21cf4fac2)
    Reviewed-on: https://gerrit.libreoffice.org/21783
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/offapi/com/sun/star/i18n/ParseResult.idl b/offapi/com/sun/star/i18n/ParseResult.idl
index 4c6910f..22b2ccb 100644
--- a/offapi/com/sun/star/i18n/ParseResult.idl
+++ b/offapi/com/sun/star/i18n/ParseResult.idl
@@ -31,15 +31,15 @@ module com {  module sun {  module star {  module i18n {
 
 published struct ParseResult
 {
-    /** Count of ignored leading whitespace, in code points, not
-        characters. */
+    /** Count of ignored leading whitespace, in UTF-16 code units, not
+        Unicode code points. */
     long    LeadingWhiteSpace;
 
-    /** Code point index of first unprocessed character. */
+    /** UTF-16 code unit index of first unprocessed character. */
     long    EndPos;
 
-    /** Number of characters (not code points) of the parsed token, not
-        including leading whitespace. */
+    /** Number of code points (not UTF-16 code units) of the parsed token,
+        not including leading whitespace. */
     long    CharLen;
 
     /** Value of token in case of numeric. */


More information about the Libreoffice-commits mailing list