[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - include/rtl

Noel Grandin noel at peralex.com
Wed Mar 19 04:31:42 PDT 2014


 include/rtl/ustring.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 853660dbf4dc350e7a9096e2367c7f10cfcc3ac6
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 18 13:42:37 2014 +0200

    make "rest" param in endsWithIgnoreAsciiCase default to zero
    
    so it matches all of the other endsWith* methods
    
    Change-Id: If6a37056b1225675848434bfb3520e6c496f22e5
    (cherry picked from commit e80b9f344aeb88bdbb42d846c0a094d86ee327dc)
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index 826727f..995ef17 100644
--- a/include/rtl/ustring.hxx
+++ b/include/rtl/ustring.hxx
@@ -1095,7 +1095,7 @@ public:
 
       @since LibreOffice 3.6
     */
-    bool endsWithIgnoreAsciiCase(OUString const & str, OUString * rest) const
+    bool endsWithIgnoreAsciiCase(OUString const & str, OUString * rest = 0) const
     {
         bool b =  str.getLength() <= getLength()
             && matchIgnoreAsciiCase(str, getLength() - str.getLength());


More information about the Libreoffice-commits mailing list