From a987aa3be73ec29917567d16886c017ac9a0a3d8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 13 Dec 2017 08:46:01 +0100 Subject: Make loplugin:salcall look into macros too "Indirect" calls to isSallCallFunction (for canonic and overridden FunctionDecls) already needed to handle many cases of FunctionDecls spanning macros, so it isn't that much more work to make that also work for cases called directly from VisitFunctionDecl. Change-Id: I529f148c8872b86aa1ef082c6cb73db8ab1866e7 Reviewed-on: https://gerrit.libreoffice.org/46367 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- i18nutil/source/utility/unicode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i18nutil') diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 1ece83ed8f64..96c0194a9149 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -114,7 +114,7 @@ unicode::getUnicodeDirection( const sal_Unicode ch ) { bit(UnicodeType::PARAGRAPH_SEPARATOR) #define IsType(func, mask) \ -bool SAL_CALL func( const sal_Unicode ch) {\ +bool func( const sal_Unicode ch) {\ return (bit(getUnicodeType(ch)) & (mask)) != 0;\ } -- cgit