From 7cca2c7fb328e64f1779993b60809eff6974b970 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Nov 2016 08:59:52 +0200 Subject: new loplugin finalprotected look for final classes, and make sure they don't have protected members Change-Id: I1fa810659bba02b61a5160dbfd8e24185ec9abf4 Reviewed-on: https://gerrit.libreoffice.org/30895 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/dbaccess/AsynchronousLink.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/dbaccess') diff --git a/include/dbaccess/AsynchronousLink.hxx b/include/dbaccess/AsynchronousLink.hxx index d8ca5b1d3610..c2779be5334a 100644 --- a/include/dbaccess/AsynchronousLink.hxx +++ b/include/dbaccess/AsynchronousLink.hxx @@ -42,6 +42,7 @@ namespace dbaui ::osl::Mutex m_aEventSafety; ::osl::Mutex m_aDestructionSafety; ImplSVEvent * m_nEventId; + DECL_LINK(OnAsyncCall, void*, void); public: /** constructs the object @@ -54,9 +55,6 @@ namespace dbaui void Call( void* _pArgument = nullptr ); void CancelCall(); - - protected: - DECL_LINK(OnAsyncCall, void*, void); }; } #endif // INCLUDED_DBACCESS_ASYNCRONOUSLINK_HXX -- cgit