diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-10 11:08:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-10 11:09:08 +0000 |
commit | 9c19e79f19f0dbd55def4a0cf473248ea91e188e (patch) | |
tree | a75fc652a3d79b4a18d69a7f3af3bb5b8f369262 /comphelper/source/misc | |
parent | 40cddfce8b2e53a4203760b40833bbd9092cac68 (diff) |
extend unit test to islower
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/string.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/comphelper/source/misc/string.cxx b/comphelper/source/misc/string.cxx index 712d9030ddf1..13a1236ea55e 100644 --- a/comphelper/source/misc/string.cxx +++ b/comphelper/source/misc/string.cxx @@ -516,6 +516,11 @@ bool isalnumAsciiString(const rtl::OString &rString) return tmpl_is_OPER_AsciiString<isalnumAscii>(rString); } +bool isalnumAsciiString(const rtl::OUString &rString) +{ + return tmpl_is_OPER_AsciiString<isalnumAscii>(rString); +} + bool isdigitAsciiString(const rtl::OString &rString) { return tmpl_is_OPER_AsciiString<isdigitAscii>(rString); @@ -531,11 +536,21 @@ bool islowerAsciiString(const rtl::OString &rString) return tmpl_is_OPER_AsciiString<islowerAscii>(rString); } +bool islowerAsciiString(const rtl::OUString &rString) +{ + return tmpl_is_OPER_AsciiString<islowerAscii>(rString); +} + bool isupperAsciiString(const rtl::OString &rString) { return tmpl_is_OPER_AsciiString<isupperAscii>(rString); } +bool isupperAsciiString(const rtl::OUString &rString) +{ + return tmpl_is_OPER_AsciiString<isupperAscii>(rString); +} + } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |