summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbabookmarks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbabookmarks.cxx')
-rw-r--r--sw/source/ui/vba/vbabookmarks.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbabookmarks.cxx b/sw/source/ui/vba/vbabookmarks.cxx
index 585a03e94390..dc095523043f 100644
--- a/sw/source/ui/vba/vbabookmarks.cxx
+++ b/sw/source/ui/vba/vbabookmarks.cxx
@@ -35,6 +35,7 @@ class BookmarksEnumeration : public EnumerationHelperImpl
{
uno::Reference< frame::XModel > mxModel;
public:
+ /// @throws uno::RuntimeException
BookmarksEnumeration( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< container::XEnumeration >& xEnumeration, const uno::Reference< frame::XModel >& xModel ) throw ( uno::RuntimeException ) : EnumerationHelperImpl( xParent, xContext, xEnumeration ), mxModel( xModel ) {}
virtual uno::Any SAL_CALL nextElement( ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) override
@@ -55,6 +56,7 @@ private:
uno::Reference< container::XIndexAccess > mxIndexAccess;
uno::Any cachePos;
public:
+ /// @throws uno::RuntimeException
explicit BookmarkCollectionHelper( const uno::Reference< container::XIndexAccess >& xIndexAccess ) throw (uno::RuntimeException) : mxIndexAccess( xIndexAccess )
{
mxNameAccess.set( mxIndexAccess, uno::UNO_QUERY_THROW );