summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-13 08:46:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-13 12:44:31 +0100
commita987aa3be73ec29917567d16886c017ac9a0a3d8 (patch)
tree6180d495af35b8a1bf34e955b0ea5e49ca2a355c /i18npool
parent6847deb1f7c68cf0402ccbc61c42ca5d285d3a61 (diff)
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 <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/registerservices/registerservices.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/registerservices/registerservices.cxx b/i18npool/source/registerservices/registerservices.cxx
index fe731e736331..0a3fa328d9aa 100644
--- a/i18npool/source/registerservices/registerservices.cxx
+++ b/i18npool/source/registerservices/registerservices.cxx
@@ -65,7 +65,7 @@ using namespace i18npool;
#define IMPL_CREATEINSTANCE( ImplName ) \
uno::Reference< uno::XInterface > \
- SAL_CALL ImplName##_CreateInstance( \
+ ImplName##_CreateInstance( \
SAL_UNUSED_PARAMETER const uno::Reference< \
lang::XMultiServiceFactory >& ) \
{ \
@@ -76,7 +76,7 @@ using namespace i18npool;
#define IMPL_CREATEINSTANCE_CTX( ImplName ) \
uno::Reference< uno::XInterface > \
- SAL_CALL ImplName##_CreateInstance( \
+ ImplName##_CreateInstance( \
const uno::Reference< \
lang::XMultiServiceFactory >& rxMSF ) \
{ \