summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:57:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:20 +0100
commit36d7778f465367ebd2ea5e64cfcea2fc22a8b01d (patch)
treea3a8631aecbffdf9c9fb30865f1a93d262ceccb9 /forms
parentNew loplugin:dynexcspec: Add @throws documentation, fpicker (diff)
downloadcore-36d7778f465367ebd2ea5e64cfcea2fc22a8b01d.tar.gz
core-36d7778f465367ebd2ea5e64cfcea2fc22a8b01d.zip
New loplugin:dynexcspec: Add @throws documentation, forms
Change-Id: Ib5e1f2ef4143ad1c75ec705624a547e47affbc79
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.hxx2
-rw-r--r--forms/source/component/formcontrolfont.cxx2
-rw-r--r--forms/source/inc/FormComponent.hxx2
-rw-r--r--forms/source/inc/InterfaceContainer.hxx2
-rw-r--r--forms/source/inc/controlfeatureinterception.hxx2
-rw-r--r--forms/source/inc/formcontrolfont.hxx3
-rw-r--r--forms/source/inc/formnavigation.hxx1
-rw-r--r--forms/source/xforms/binding.hxx2
-rw-r--r--forms/source/xforms/submission.hxx2
9 files changed, 17 insertions, 1 deletions
diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx
index c801f84e5a54..683e51a983cb 100644
--- a/forms/source/component/DatabaseForm.hxx
+++ b/forms/source/component/DatabaseForm.hxx
@@ -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);
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx
index 59ff701401de..00d5e855a731 100644
--- a/forms/source/component/formcontrolfont.cxx
+++ b/forms/source/component/formcontrolfont.cxx
@@ -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)
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index 51c8f9a4bad3..934bd526d890 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -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
diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx
index 90163803a4e8..fc3a5fbe4a6e 100644
--- a/forms/source/inc/InterfaceContainer.hxx
+++ b/forms/source/inc/InterfaceContainer.hxx
@@ -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,
diff --git a/forms/source/inc/controlfeatureinterception.hxx b/forms/source/inc/controlfeatureinterception.hxx
index 6c0097f9aa70..e17f45278e75 100644
--- a/forms/source/inc/controlfeatureinterception.hxx
+++ b/forms/source/inc/controlfeatureinterception.hxx
@@ -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
diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx
index b1161a7b19d6..0de0c449793d 100644
--- a/forms/source/inc/formcontrolfont.hxx
+++ b/forms/source/inc/formcontrolfont.hxx
@@ -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&),
diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx
index cae6afd7a66e..32f8c8017d04 100644
--- a/forms/source/inc/formnavigation.hxx
+++ b/forms/source/inc/formnavigation.hxx
@@ -78,6 +78,7 @@ namespace frm
virtual ~OFormNavigationHelper();
// XComponent
+ /// @throws css::uno::RuntimeException
void SAL_CALL dispose( ) throw( css::uno::RuntimeException );
// XDispatchProviderInterception
diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx
index 169cdd100ac6..6a75a7e9ea98 100644
--- a/forms/source/xforms/binding.hxx
+++ b/forms/source/xforms/binding.hxx
@@ -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
diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx
index d4521818839d..fac867fc753d 100644
--- a/forms/source/xforms/submission.hxx
+++ b/forms/source/xforms/submission.hxx
@@ -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 );