[Libreoffice-commits] core.git: Branch 'libreoffice-4-2-3' - include/rtl
Noel Grandin
noel at peralex.com
Wed Mar 19 04:36:58 PDT 2014
include/rtl/ustring.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4a1f7ca884f36703e202122122e0fc6cf921de2d
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)
Reviewed-on: https://gerrit.libreoffice.org/8655
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.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