New loplugin:dynexcspec: Add @throws documentation, forms
Change-Id: Ib5e1f2ef4143ad1c75ec705624a547e47affbc79
This commit is contained in:
parent
f72756cdfb
commit
36d7778f46
@ -447,9 +447,11 @@ private:
|
|||||||
bool hasValidParent() const;
|
bool hasValidParent() const;
|
||||||
|
|
||||||
// impl methods
|
// impl methods
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void load_impl(bool bCausedByParentForm, bool bMoveToFirst = true,
|
void load_impl(bool bCausedByParentForm, bool bMoveToFirst = true,
|
||||||
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
|
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
|
||||||
throw(css::uno::RuntimeException, std::exception);
|
throw(css::uno::RuntimeException, std::exception);
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void reload_impl(bool bMoveToFirst,
|
void reload_impl(bool bMoveToFirst,
|
||||||
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
|
const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >())
|
||||||
throw(css::uno::RuntimeException, std::exception);
|
throw(css::uno::RuntimeException, std::exception);
|
||||||
|
@ -347,7 +347,7 @@ namespace frm
|
|||||||
return bModified;
|
return bModified;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @throws Exception
|
||||||
static void setFastPropertyValue_NoBroadcast_implimpl(
|
static void setFastPropertyValue_NoBroadcast_implimpl(
|
||||||
FontDescriptor & rFont,
|
FontDescriptor & rFont,
|
||||||
sal_Int32 nHandle, const Any& rValue) throw (Exception)
|
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;
|
virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override = 0;
|
||||||
|
|
||||||
// XSericeInfo - static version(s)
|
// XSericeInfo - static version(s)
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
|
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
|
||||||
|
|
||||||
// XPersistObject
|
// XPersistObject
|
||||||
@ -977,6 +978,7 @@ public:
|
|||||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override;
|
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override;
|
||||||
|
|
||||||
// XServiceInfo - static version
|
// XServiceInfo - static version
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
|
static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
|
||||||
|
|
||||||
// XChild
|
// XChild
|
||||||
|
@ -117,6 +117,7 @@ public:
|
|||||||
OInterfaceContainer( ::osl::Mutex& _rMutex, const OInterfaceContainer& _cloneSource );
|
OInterfaceContainer( ::osl::Mutex& _rMutex, const OInterfaceContainer& _cloneSource );
|
||||||
|
|
||||||
// late constructor for cloning
|
// late constructor for cloning
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void clonedFrom(const OInterfaceContainer& _cloneSource) throw(css::uno::RuntimeException, std::exception);
|
void clonedFrom(const OInterfaceContainer& _cloneSource) throw(css::uno::RuntimeException, std::exception);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@ -209,6 +210,7 @@ protected:
|
|||||||
is done within implInsert.
|
is done within implInsert.
|
||||||
@param _bFire
|
@param _bFire
|
||||||
if <TRUE/>, a notification about the insertion will be fired
|
if <TRUE/>, a notification about the insertion will be fired
|
||||||
|
@throws css::lang::IllegalArgumentException
|
||||||
*/
|
*/
|
||||||
void implInsert(
|
void implInsert(
|
||||||
sal_Int32 _nIndex,
|
sal_Int32 _nIndex,
|
||||||
|
@ -60,7 +60,9 @@ namespace frm
|
|||||||
ControlFeatureInterception( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
|
ControlFeatureInterception( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
|
||||||
|
|
||||||
// XDispatchProviderInterception
|
// XDispatchProviderInterception
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL registerDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (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 );
|
void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException );
|
||||||
|
|
||||||
// XComponent
|
// XComponent
|
||||||
|
@ -73,7 +73,10 @@ namespace frm
|
|||||||
css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps );
|
css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps );
|
||||||
|
|
||||||
void getFastPropertyValue ( css::uno::Any& _rValue, sal_Int32 _nHandle ) const;
|
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 );
|
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(
|
void setFastPropertyValue_NoBroadcast_impl(
|
||||||
::cppu::OPropertySetHelper & rBase,
|
::cppu::OPropertySetHelper & rBase,
|
||||||
void (::cppu::OPropertySetHelper::*pSet)( sal_Int32, css::uno::Any const&),
|
void (::cppu::OPropertySetHelper::*pSet)( sal_Int32, css::uno::Any const&),
|
||||||
|
@ -78,6 +78,7 @@ namespace frm
|
|||||||
virtual ~OFormNavigationHelper();
|
virtual ~OFormNavigationHelper();
|
||||||
|
|
||||||
// XComponent
|
// XComponent
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void SAL_CALL dispose( ) throw( css::uno::RuntimeException );
|
void SAL_CALL dispose( ) throw( css::uno::RuntimeException );
|
||||||
|
|
||||||
// XDispatchProviderInterception
|
// XDispatchProviderInterception
|
||||||
|
@ -264,6 +264,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
/// check whether object is live, and throw suitable exception if not
|
/// check whether object is live, and throw suitable exception if not
|
||||||
/// (to be used be API methods before acting on the object)
|
/// (to be used be API methods before acting on the object)
|
||||||
|
///
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void checkLive() throw( css::uno::RuntimeException );
|
void checkLive() throw( css::uno::RuntimeException );
|
||||||
|
|
||||||
/// determine whether object is live
|
/// determine whether object is live
|
||||||
|
@ -165,6 +165,8 @@ private:
|
|||||||
|
|
||||||
/// check whether object is live, and throw suitable exception if not
|
/// check whether object is live, and throw suitable exception if not
|
||||||
/// (to be used be API methods before acting on the object)
|
/// (to be used be API methods before acting on the object)
|
||||||
|
///
|
||||||
|
/// @throws css::uno::RuntimeException
|
||||||
void liveCheck()
|
void liveCheck()
|
||||||
throw( css::uno::RuntimeException );
|
throw( css::uno::RuntimeException );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user