diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-12-13 08:46:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-12-13 12:44:31 +0100 |
commit | a987aa3be73ec29917567d16886c017ac9a0a3d8 (patch) | |
tree | 6180d495af35b8a1bf34e955b0ea5e49ca2a355c /xmloff/source/draw/sdxmlimp.cxx | |
parent | 6847deb1f7c68cf0402ccbc61c42ca5d285d3a61 (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 'xmloff/source/draw/sdxmlimp.cxx')
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index ed2848036239..3d5e91ea814e 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -235,15 +235,15 @@ SvXMLImportContextRef SdXMLFlatDocContext_Impl::CreateChildContext( } #define SERVICE(classname,servicename,implementationname,draw,flags)\ -uno::Sequence< OUString > SAL_CALL classname##_getSupportedServiceNames() throw()\ +uno::Sequence< OUString > classname##_getSupportedServiceNames() throw()\ {\ return uno::Sequence< OUString > { servicename };\ }\ -OUString SAL_CALL classname##_getImplementationName() throw()\ +OUString classname##_getImplementationName() throw()\ {\ return OUString( implementationname );\ }\ -uno::Reference< uno::XInterface > SAL_CALL classname##_createInstance(const uno::Reference< lang::XMultiServiceFactory > & rSMgr)\ +uno::Reference< uno::XInterface > classname##_createInstance(const uno::Reference< lang::XMultiServiceFactory > & rSMgr)\ {\ return static_cast<cppu::OWeakObject*>(new SdXMLImport( comphelper::getComponentContext(rSMgr), implementationname, draw, flags )); \ } |