diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-18 13:42:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-19 08:55:18 +0200 |
commit | e80b9f344aeb88bdbb42d846c0a094d86ee327dc (patch) | |
tree | 8c4c0b75ced8474078b39e7bae614c695fd86687 /include/rtl | |
parent | 5390829bb36653ae931ff3cfd59ea089bc594ec9 (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.hxx | 2 |
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()); |