summaryrefslogtreecommitdiff
path: root/include/rtl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-18 13:42:37 +0200
committerNoel Grandin <noel@peralex.com>2014-03-19 08:55:18 +0200
commite80b9f344aeb88bdbb42d846c0a094d86ee327dc (patch)
tree8c4c0b75ced8474078b39e7bae614c695fd86687 /include/rtl
parent5390829bb36653ae931ff3cfd59ea089bc594ec9 (diff)
make "rest" param in endsWithIgnoreAsciiCase default to zero
so it matches all of the other endsWith* methods Change-Id: If6a37056b1225675848434bfb3520e6c496f22e5
Diffstat (limited to 'include/rtl')
-rw-r--r--include/rtl/ustring.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx
index f1a5f4aeb296..6864e9163313 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());