diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-06 08:59:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 11:25:55 +0100 |
commit | dd0dceb51122b4e8e969f848d9f046e91962d254 (patch) | |
tree | f927f0870a54ad7cb887e6e7d5bb7956d44d0665 /forms | |
parent | caf1eb15838729e05a70d2fcb8de6834394b5764 (diff) |
loplugin:salcall handle static methods
Change-Id: Id6820abec4b8ca8bee26d62b333fd30b42a14aec
Reviewed-on: https://gerrit.libreoffice.org/46007
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/EventThread.hxx | 4 | ||||
-rw-r--r-- | forms/source/xforms/binding.cxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/binding.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index 0050467d9818..ec5e8d706faa 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -97,8 +97,8 @@ public: virtual void SAL_CALL disposing(const css::lang::EventObject& _rSource ) override; // Resolve ambiguity: both OWeakObject and OObject have these memory operators - void * SAL_CALL operator new( size_t size ) throw() { return osl::Thread::operator new(size); } - void SAL_CALL operator delete( void * p ) throw() { osl::Thread::operator delete(p); } + void * operator new( size_t size ) throw() { return osl::Thread::operator new(size); } + void operator delete( void * p ) throw() { osl::Thread::operator delete(p); } private: void impl_clearEventQueue(); diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 2b9cc9f97390..16276212a27e 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -311,7 +311,7 @@ css::uno::Sequence<sal_Int8> Binding::getUnoTunnelID() return aImplementationId.getImplementationId(); } -Binding* SAL_CALL Binding::getBinding( const Reference<XPropertySet>& xPropertySet ) +Binding* Binding::getBinding( const Reference<XPropertySet>& xPropertySet ) { Reference<XUnoTunnel> xTunnel( xPropertySet, UNO_QUERY ); return xTunnel.is() diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx index 1bd019a7d497..dc6ba779bbc4 100644 --- a/forms/source/xforms/binding.hxx +++ b/forms/source/xforms/binding.hxx @@ -258,7 +258,7 @@ public: // the ID for XUnoTunnel calls static css::uno::Sequence<sal_Int8> getUnoTunnelID(); - static Binding* SAL_CALL getBinding( const css::uno::Reference<css::beans::XPropertySet>& ); + static Binding* getBinding( const css::uno::Reference<css::beans::XPropertySet>& ); private: |