diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-23 18:39:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-24 15:27:28 +0200 |
commit | 6390d2c52b75b2868d5ee98863a0af4f103c12e5 (patch) | |
tree | ed9f11baf9f45d2de0270eb1a61983fb4a302df9 /include/comphelper/string.hxx | |
parent | 3fb56b38c46849569fe2035a3f377a396e2ec8fd (diff) |
Get rid of comphelper::string::is*Ascii functions
Change-Id: I99912112e5b009d7a143f9816d757cdf6ebb1783
Diffstat (limited to 'include/comphelper/string.hxx')
-rw-r--r-- | include/comphelper/string.hxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index b9680372c21b..5bf8296ee1e3 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -401,36 +401,6 @@ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(const OString &rString); */ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(const OUString &rString); -inline bool isdigitAscii(sal_Unicode c) -{ - return ((c >= '0') && (c <= '9')); -} - -inline bool isxdigitAscii(sal_Unicode c) -{ - return isdigitAscii(c) || (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f'); -} - -inline bool islowerAscii(sal_Unicode c) -{ - return ((c >= 'a') && (c <= 'z')); -} - -inline bool isupperAscii(sal_Unicode c) -{ - return ((c >= 'A') && (c <= 'Z')); -} - -inline bool isalphaAscii(sal_Unicode c) -{ - return islowerAscii(c) || isupperAscii(c); -} - -inline bool isalnumAscii(sal_Unicode c) -{ - return isalphaAscii(c) || isdigitAscii(c); -} - /** Compare two strings containing software version numbers Inspired by the GNU strverscmp(), but there is no guarantee that the exact |