diff options
Diffstat (limited to 'forms/source/xforms/model.hxx')
-rw-r--r-- | forms/source/xforms/model.hxx | 169 |
1 files changed, 57 insertions, 112 deletions
diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx index 2b79153a22b5..cda182010041 100644 --- a/forms/source/xforms/model.hxx +++ b/forms/source/xforms/model.hxx @@ -182,106 +182,78 @@ public: // implement the xforms::XModel implementation - virtual OUString SAL_CALL getID() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getID() override; - virtual void SAL_CALL setID( const OUString& sID ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL setID( const OUString& sID ) override; - virtual void SAL_CALL initialize() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL initialize() override; - virtual void SAL_CALL rebuild() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL rebuild() override; - virtual void SAL_CALL recalculate() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL recalculate() override; - virtual void SAL_CALL revalidate() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL revalidate() override; - virtual void SAL_CALL refresh() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL refresh() override; - virtual void SAL_CALL submit( const OUString& sID ) - throw( css::util::VetoException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL submit( const OUString& sID ) override; - virtual void SAL_CALL submitWithInteraction( const OUString& id, const css::uno::Reference<css::task::XInteractionHandler>& _rxHandler ) - throw( css::util::VetoException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL submitWithInteraction( const OUString& id, const css::uno::Reference<css::task::XInteractionHandler>& _rxHandler ) override; - virtual css::uno::Reference<css::xforms::XDataTypeRepository> SAL_CALL getDataTypeRepository( ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xforms::XDataTypeRepository> SAL_CALL getDataTypeRepository( ) override; // XModel: instance management - virtual css::uno::Reference<css::container::XSet> SAL_CALL getInstances() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::container::XSet> SAL_CALL getInstances() override; - virtual css::uno::Reference<css::xml::dom::XDocument> SAL_CALL getInstanceDocument( const OUString& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xml::dom::XDocument> SAL_CALL getInstanceDocument( const OUString& ) override; - virtual css::uno::Reference<css::xml::dom::XDocument> SAL_CALL getDefaultInstance() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xml::dom::XDocument> SAL_CALL getDefaultInstance() override; // XModel: binding management - virtual XPropertySet_t SAL_CALL createBinding() - throw( css::uno::RuntimeException, std::exception ) override; + virtual XPropertySet_t SAL_CALL createBinding() override; - virtual XPropertySet_t SAL_CALL cloneBinding( const XPropertySet_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual XPropertySet_t SAL_CALL cloneBinding( const XPropertySet_t& ) override; - virtual XPropertySet_t SAL_CALL getBinding( const OUString& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual XPropertySet_t SAL_CALL getBinding( const OUString& ) override; - virtual css::uno::Reference<css::container::XSet> SAL_CALL getBindings() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::container::XSet> SAL_CALL getBindings() override; // XModel: submission management - virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL createSubmission() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL createSubmission() override; - virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL cloneSubmission( const XPropertySet_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL cloneSubmission( const XPropertySet_t& ) override; - virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL getSubmission( const OUString& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::xforms::XSubmission> SAL_CALL getSubmission( const OUString& ) override; - virtual css::uno::Reference<css::container::XSet> SAL_CALL getSubmissions() - throw( css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference<css::container::XSet> SAL_CALL getSubmissions() override; // XPropertySet - virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& p) - throw( css::uno::RuntimeException, std::exception ) override + virtual css::uno::Any SAL_CALL getPropertyValue(const OUString& p) override { return PropertySetBase::getPropertyValue(p); } - virtual void SAL_CALL addPropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) - throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override + virtual void SAL_CALL addPropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) override { PropertySetBase::addPropertyChangeListener(p1, p2); } - virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) - throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override + virtual void SAL_CALL removePropertyChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XPropertyChangeListener>& p2) override { PropertySetBase::removePropertyChangeListener(p1, p2); } - virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) - throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) override + virtual void SAL_CALL addVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) override { PropertySetBase::addVetoableChangeListener(p1, p2); } - virtual void SAL_CALL removeVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) - throw( css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception ) override + virtual void SAL_CALL removeVetoableChangeListener(const OUString& p1, const css::uno::Reference<css::beans::XVetoableChangeListener>& p2) override { PropertySetBase::removeVetoableChangeListener(p1, p2); } - virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() - throw( css::uno::RuntimeException, std::exception ) override + virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() override { return PropertySetBase::getPropertySetInfo(); } - virtual void SAL_CALL setPropertyValue(const OUString& p1, const css::uno::Any& p2) - throw( css::uno::RuntimeException, std::exception ) override + virtual void SAL_CALL setPropertyValue(const OUString& p1, const css::uno::Any& p2) override { PropertySetBase::setPropertyValue(p1, p2); } @@ -291,10 +263,10 @@ public: /// determine a reasonable control service for a given node /// (based on data type MIP assigned to the node) - virtual OUString SAL_CALL getDefaultServiceNameForNode( const XNode_t& xNode ) throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getDefaultServiceNameForNode( const XNode_t& xNode ) override; /// call getDefaultBindingExpressionForNode with default evaluation context - virtual OUString SAL_CALL getDefaultBindingExpressionForNode( const XNode_t& xNode ) throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getDefaultBindingExpressionForNode( const XNode_t& xNode ) override; /// determine a reasonable default binding expression for a given node /// and a given evaluation context @@ -304,122 +276,95 @@ public: const EvaluationContext& ); virtual OUString SAL_CALL getNodeDisplayName( const XNode_t&, - sal_Bool bDetail ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bDetail ) override; - virtual OUString SAL_CALL getNodeName( const XNode_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getNodeName( const XNode_t& ) override; virtual OUString SAL_CALL getBindingName( const XPropertySet_t&, - sal_Bool bDetail ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bDetail ) override; virtual OUString SAL_CALL getSubmissionName( const XPropertySet_t&, - sal_Bool bDetail ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bDetail ) override; - virtual XPropertySet_t SAL_CALL cloneBindingAsGhost( const XPropertySet_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual XPropertySet_t SAL_CALL cloneBindingAsGhost( const XPropertySet_t& ) override; - virtual void SAL_CALL removeBindingIfUseless( const XPropertySet_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL removeBindingIfUseless( const XPropertySet_t& ) override; virtual css::uno::Reference<css::xml::dom::XDocument> SAL_CALL newInstance( const OUString& sName, const OUString& sURL, - sal_Bool bURLOnce ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bURLOnce ) override; virtual void SAL_CALL renameInstance( const OUString& sFrom, const OUString& sTo, const OUString& sURL, - sal_Bool bURLOnce ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bURLOnce ) override; - virtual void SAL_CALL removeInstance( const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL removeInstance( const OUString& sName ) override; virtual css::uno::Reference<css::xforms::XModel> SAL_CALL newModel( const css::uno::Reference<css::frame::XModel>& xComponent, - const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sName ) override; virtual void SAL_CALL renameModel( const css::uno::Reference<css::frame::XModel>& xComponent, const OUString& sFrom, - const OUString& sTo ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sTo ) override; virtual void SAL_CALL removeModel( const css::uno::Reference<css::frame::XModel>& xComponent, - const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sName ) override; virtual XNode_t SAL_CALL createElement( const XNode_t& xParent, - const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sName ) override; virtual XNode_t SAL_CALL createAttribute( const XNode_t& xParent, - const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sName ) override; virtual XNode_t SAL_CALL renameNode( const XNode_t& xNode, - const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sName ) override; virtual XPropertySet_t SAL_CALL getBindingForNode( const XNode_t&, - sal_Bool bCreate ) - throw( css::uno::RuntimeException, std::exception ) override; + sal_Bool bCreate ) override; - virtual void SAL_CALL removeBindingForNode( const XNode_t& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL removeBindingForNode( const XNode_t& ) override; virtual OUString SAL_CALL getResultForExpression( const XPropertySet_t& xBinding, sal_Bool bIsBindingExpression, - const OUString& sExpression ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sExpression ) override; - virtual sal_Bool SAL_CALL isValidXMLName( const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Bool SAL_CALL isValidXMLName( const OUString& sName ) override; - virtual sal_Bool SAL_CALL isValidPrefixName( const OUString& sName ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Bool SAL_CALL isValidPrefixName( const OUString& sName ) override; virtual void SAL_CALL setNodeValue( const XNode_t& xNode, - const OUString& sValue ) - throw( css::uno::RuntimeException, std::exception ) override; + const OUString& sValue ) override; // XUpdatable public: - virtual void SAL_CALL update() - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL update() override; // XUnoTunnel public: - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence<sal_Int8>& ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence<sal_Int8>& ) override; // XTypeProvider::getImplementationId public: - virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() - throw( css::uno::RuntimeException ) override; + virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() override; - OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override; + OUString SAL_CALL getImplementationName() override; - sal_Bool SAL_CALL supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) override; + sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override; - css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) override; + css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; }; } // namespace |