summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaparagraph.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index 7f132c4c6c78..b4108654e30c 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -79,6 +79,7 @@ class ParagraphCollectionHelper : public ::cppu::WeakImplHelper< container::XInd
private:
uno::Reference< text::XTextDocument > mxTextDocument;
+ /// @throws uno::RuntimeException
uno::Reference< container::XEnumeration > getEnumeration() throw (uno::RuntimeException)
{
uno::Reference< container::XEnumerationAccess > xParEnumAccess( mxTextDocument->getText(), uno::UNO_QUERY_THROW );
@@ -86,6 +87,7 @@ private:
}
public:
+ /// @throws uno::RuntimeException
explicit ParagraphCollectionHelper( const uno::Reference< text::XTextDocument >& xDocument ) throw (uno::RuntimeException): mxTextDocument( xDocument )
{
}