diff options
Diffstat (limited to 'sw/source/ui/vba/vbavariables.cxx')
-rw-r--r-- | sw/source/ui/vba/vbavariables.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbavariables.cxx b/sw/source/ui/vba/vbavariables.cxx index 2556cc401de3..d0bfe6bf9d23 100644 --- a/sw/source/ui/vba/vbavariables.cxx +++ b/sw/source/ui/vba/vbavariables.cxx @@ -25,7 +25,7 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; /// @throws uno::RuntimeException -uno::Reference< container::XIndexAccess > createVariablesAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< beans::XPropertyAccess >& xUserDefined ) throw ( uno::RuntimeException ) +uno::Reference< container::XIndexAccess > createVariablesAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< beans::XPropertyAccess >& xUserDefined ) { // FIXME: the performance is poor? XNamedObjectCollectionHelper< word::XVariable >::XNamedVec aVariables; @@ -44,12 +44,12 @@ SwVbaVariables::SwVbaVariables( const uno::Reference< XHelperInterface >& xParen } // XEnumerationAccess uno::Type -SwVbaVariables::getElementType() throw (uno::RuntimeException) +SwVbaVariables::getElementType() { return cppu::UnoType<word::XVariable>::get(); } uno::Reference< container::XEnumeration > -SwVbaVariables::createEnumeration() throw (uno::RuntimeException) +SwVbaVariables::createEnumeration() { uno::Reference< container::XEnumerationAccess > xEnumerationAccess( m_xIndexAccess, uno::UNO_QUERY_THROW ); return xEnumerationAccess->createEnumeration(); @@ -62,7 +62,7 @@ SwVbaVariables::createCollectionObject( const css::uno::Any& aSource ) } uno::Any SAL_CALL -SwVbaVariables::Add( const OUString& rName, const uno::Any& rValue ) throw (uno::RuntimeException, std::exception) +SwVbaVariables::Add( const OUString& rName, const uno::Any& rValue ) { uno::Any aValue; if( rValue.hasValue() ) |