From 35e122bfa5e3de9f7c4eb762a206642c4e22157e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:58:09 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, eventattacher Change-Id: I432f604c8b7a3b0e95f99b2982c302c2a94fd0fa --- eventattacher/source/eventattacher.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'eventattacher/source') diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 03f075bd035d..5ca8f94f74bd 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -241,6 +241,7 @@ public: throw( IllegalArgumentException, ServiceNotRegisteredException, CannotCreateAdapterException, IntrospectionException, RuntimeException, std::exception ) override; // used by FilterAllListener_Impl + /// @throws Exception Reference< XTypeConverter > getConverter() throw( Exception ); friend class FilterAllListenerImpl; @@ -271,8 +272,11 @@ private: Reference< XInvocationAdapterFactory2 > m_xInvocationAdapterFactory; // needed services + /// @throws Exception Reference< XIntrospection > getIntrospection() throw( Exception ); + /// @throws Exception Reference< XIdlReflection > getReflection() throw( Exception ); + /// @throws Exception Reference< XInvocationAdapterFactory2 > getInvocationAdapterService() throw( Exception ); }; @@ -282,6 +286,7 @@ EventAttacherImpl::EventAttacherImpl( const Reference< XComponentContext >& rxCo { } +/// @throws Exception Reference< XInterface > SAL_CALL EventAttacherImpl_CreateInstance( const Reference< XMultiServiceFactory >& rSMgr ) throw( Exception ) { XEventAttacher *pEventAttacher = static_cast(new EventAttacherImpl( comphelper::getComponentContext(rSMgr) )); @@ -431,6 +436,8 @@ public: private: // convert + /// @throws CannotConvertException + /// @throws RuntimeException void convertToEventReturn( Any & rRet, const Type& rRetType ) throw (CannotConvertException, RuntimeException); -- cgit