[Libreoffice-commits] core.git: include/rtl

Andres Gomez agomez at igalia.com
Tue Nov 12 05:10:23 PST 2013


 include/rtl/string.hxx  |    6 ++++--
 include/rtl/ustring.hxx |   12 ++++++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

New commits:
commit 39f14fc00128e5bac72c474c7466cab9916598f0
Author: Andres Gomez <agomez at igalia.com>
Date:   Tue Nov 12 12:29:04 2013 +0200

    rtl: starts-/endsWith* new second parameter since 4.2
    
    Updated the documentation for the new optional second parameter in the
    O(U)String startsWith* and endsWith* methods so it is explicitly said
    that it is only available since LibreOffice 4.2
    
    Change-Id: I58758e4bae85eef07c578dd50d6e0279b49deaf5
    Reviewed-on: https://gerrit.libreoffice.org/6649
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx
index b0d64d7..04d89cb 100644
--- a/include/rtl/string.hxx
+++ b/include/rtl/string.hxx
@@ -682,7 +682,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       start of this string
@@ -720,7 +721,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       end of this string
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index 0dee880..826727f 100644
--- a/include/rtl/ustring.hxx
+++ b/include/rtl/ustring.hxx
@@ -923,7 +923,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       start of this string
@@ -968,7 +969,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       start of this string, ignoring the case of ASCII letters ("A"--"Z" and
@@ -1013,7 +1015,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       end of this string
@@ -1083,7 +1086,8 @@ public:
       @param str the substring to be compared
 
       @param rest if non-null, and this function returns true, then assign a
-      copy of the remainder of this string to *rest
+      copy of the remainder of this string to *rest. Available since
+      LibreOffice 4.2
 
       @return true if and only if the given str appears as a substring at the
       end of this string, ignoring the case of ASCII letters ("A"--"Z" and


More information about the Libreoffice-commits mailing list