diff options
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/scriptdocument.cxx | 5 | ||||
-rw-r--r-- | basctl/source/inc/scriptdocument.hxx | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index c7bbb9fbf968..63cab3c3d067 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -260,8 +260,7 @@ namespace basctl bool allowMacros() const; Reference< XNameContainer > - getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const - SAL_THROW((NoSuchElementException)); + getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const; bool hasLibrary( LibraryContainerType _eType, const OUString& _rLibName ) const; Reference< XNameContainer > getOrCreateLibrary( LibraryContainerType _eType, const OUString& _rLibName ) const; @@ -448,7 +447,6 @@ namespace basctl Reference< XNameContainer > ScriptDocument::Impl::getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const - SAL_THROW((NoSuchElementException)) { OSL_ENSURE( isValid(), "ScriptDocument::Impl::getLibrary: invalid state!" ); @@ -1231,7 +1229,6 @@ namespace basctl Reference< XNameContainer > ScriptDocument::getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const - SAL_THROW((NoSuchElementException)) { return m_pImpl->getLibrary( _eType, _rLibName, _bLoadLibrary ); } diff --git a/basctl/source/inc/scriptdocument.hxx b/basctl/source/inc/scriptdocument.hxx index 22d12dbad650..f8d03cba5a9d 100644 --- a/basctl/source/inc/scriptdocument.hxx +++ b/basctl/source/inc/scriptdocument.hxx @@ -247,8 +247,7 @@ namespace basctl if there is no script library with the given name */ ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > - getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const - SAL_THROW((::com::sun::star::container::NoSuchElementException)); + getLibrary( LibraryContainerType _eType, const OUString& _rLibName, bool _bLoadLibrary ) const; /** creates a script or dialog library in the document, or returns an existing one |