From c8e39e66528affb66f1ae121fa36dd4ab31a9b0b Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sat, 10 Aug 2013 12:41:03 +0200 Subject: Introduce rtl::compareIgnoreCase and deprecate rtl/character.hxx equivalents. Change-Id: Id90935fd2b0f904f89477792edc8140cfc31e91f Reviewed-on: https://gerrit.libreoffice.org/5412 Reviewed-by: Petr Mladek Tested-by: Petr Mladek --- include/unotools/charclass.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/unotools') diff --git a/include/unotools/charclass.hxx b/include/unotools/charclass.hxx index 1eb2954a0491..0522df360ce2 100644 --- a/include/unotools/charclass.hxx +++ b/include/unotools/charclass.hxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + #include "unotools/unotoolsdllapi.h" #ifndef _UNOTOOLS_CHARCLASS_HXX @@ -33,7 +34,6 @@ #include #include - namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; @@ -93,18 +93,21 @@ public: /// isdigit() on ascii values + SAL_DEPRECATED("Use rtl::isAsciiDigit instead") static inline bool isAsciiDigit( sal_Unicode c ) { return rtl::isAsciiDigit( c ); } /// isalpha() on ascii values + SAL_DEPRECATED("Use rtl::isAsciiAlpha instead") static inline bool isAsciiAlpha( sal_Unicode c ) { return rtl::isAsciiAlpha( c ); } /// isalnum() on ascii values + SAL_DEPRECATED("Use rtl::isAsciiAlphanumeric instead") static inline bool isAsciiAlphaNumeric( sal_Unicode c ) { return rtl::isAsciiAlphanumeric( c ); -- cgit v1.2.3