summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbafield.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:49:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:12 +0100
commit1d5372daac88346d59c2bf6a14ec9dd9ce6eb1bc (patch)
treed254f11caebd6305d369d526689a9f5a050e715e /sw/source/ui/vba/vbafield.hxx
parent8a12673c1727381ce8ab729759c3d9cd2069342e (diff)
New loplugin:dynexcspec: Add @throws documentation, sw
Change-Id: I2da2ce4cd247e7b9f973150917b4ee7bd7a0e0c4
Diffstat (limited to 'sw/source/ui/vba/vbafield.hxx')
-rw-r--r--sw/source/ui/vba/vbafield.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbafield.hxx b/sw/source/ui/vba/vbafield.hxx
index af3c53172228..650a09692219 100644
--- a/sw/source/ui/vba/vbafield.hxx
+++ b/sw/source/ui/vba/vbafield.hxx
@@ -32,6 +32,7 @@ class SwVbaField : public SwVbaField_BASE
{
css::uno::Reference< css::text::XTextField > mxTextField;
public:
+ /// @throws css::uno::RuntimeException
SwVbaField( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::text::XTextField >& xTextField) throw ( css::uno::RuntimeException);
virtual sal_Bool SAL_CALL Update() throw ( css::uno::RuntimeException, std::exception) override;
@@ -47,8 +48,11 @@ class SwVbaFields : public SwVbaFields_BASE
css::uno::Reference< css::frame::XModel > mxModel;
css::uno::Reference< css::lang::XMultiServiceFactory > mxMSF;
private:
+ /// @throws css::uno::RuntimeException
+ /// @throws css::script::BasicErrorException
css::uno::Reference< css::text::XTextField > Create_Field_FileName(const OUString& rText)
throw (css::uno::RuntimeException, css::script::BasicErrorException);
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::text::XTextField > Create_Field_DocProperty( const OUString& _text ) throw (css::uno::RuntimeException);
public: