Kaydet (Commit) 36d7778f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

New loplugin:dynexcspec: Add @throws documentation, forms

Change-Id: Ib5e1f2ef4143ad1c75ec705624a547e47affbc79
üst f72756cd
......@@ -447,9 +447,11 @@ private:
bool hasValidParent() const;
// impl methods
/// @throws css::uno::RuntimeException
void load_impl(bool bCausedByParentForm, bool bMoveToFirst = true,
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
throw(css::uno::RuntimeException, std::exception);
/// @throws css::uno::RuntimeException
void reload_impl(bool bMoveToFirst,
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
throw(css::uno::RuntimeException, std::exception);
......
......@@ -347,7 +347,7 @@ namespace frm
return bModified;
}
/// @throws Exception
static void setFastPropertyValue_NoBroadcast_implimpl(
FontDescriptor & rFont,
sal_Int32 nHandle, const Any& rValue) throw (Exception)
......
......@@ -400,6 +400,7 @@ public:
virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override = 0;
// XSericeInfo - static version(s)
/// @throws css::uno::RuntimeException
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
// XPersistObject
......@@ -977,6 +978,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override;
// XServiceInfo - static version
/// @throws css::uno::RuntimeException
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
// XChild
......
......@@ -117,6 +117,7 @@ public:
OInterfaceContainer( ::osl::Mutex& _rMutex, const OInterfaceContainer& _cloneSource );
// late constructor for cloning
/// @throws css::uno::RuntimeException
void clonedFrom(const OInterfaceContainer& _cloneSource) throw(css::uno::RuntimeException, std::exception);
protected:
......@@ -209,6 +210,7 @@ protected:
is done within implInsert.
@param _bFire
if <TRUE/>, a notification about the insertion will be fired
@throws css::lang::IllegalArgumentException
*/
void implInsert(
sal_Int32 _nIndex,
......
......@@ -60,7 +60,9 @@ namespace frm
ControlFeatureInterception( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
// XDispatchProviderInterception
/// @throws css::uno::RuntimeException
void SAL_CALL registerDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException );
/// @throws css::uno::RuntimeException
void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException );
// XComponent
......
......@@ -73,7 +73,10 @@ namespace frm
css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps );
void getFastPropertyValue ( css::uno::Any& _rValue, sal_Int32 _nHandle ) const;
/// @throws css::lang::IllegalArgumentException
/// @throws css::uno::RuntimeException
bool convertFastPropertyValue ( css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception );
/// @throws css::uno::Exception
void setFastPropertyValue_NoBroadcast_impl(
::cppu::OPropertySetHelper & rBase,
void (::cppu::OPropertySetHelper::*pSet)( sal_Int32, css::uno::Any const&),
......
......@@ -78,6 +78,7 @@ namespace frm
virtual ~OFormNavigationHelper();
// XComponent
/// @throws css::uno::RuntimeException
void SAL_CALL dispose( ) throw( css::uno::RuntimeException );
// XDispatchProviderInterception
......
......@@ -264,6 +264,8 @@ public:
private:
/// check whether object is live, and throw suitable exception if not
/// (to be used be API methods before acting on the object)
///
/// @throws css::uno::RuntimeException
void checkLive() throw( css::uno::RuntimeException );
/// determine whether object is live
......
......@@ -165,6 +165,8 @@ private:
/// check whether object is live, and throw suitable exception if not
/// (to be used be API methods before acting on the object)
///
/// @throws css::uno::RuntimeException
void liveCheck()
throw( css::uno::RuntimeException );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment