diff options
Diffstat (limited to 'sw/inc/unoparagraph.hxx')
-rw-r--r-- | sw/inc/unoparagraph.hxx | 138 |
1 files changed, 38 insertions, 100 deletions
diff --git a/sw/inc/unoparagraph.hxx b/sw/inc/unoparagraph.hxx index a9a545523757..4c598c5c63a9 100644 --- a/sw/inc/unoparagraph.hxx +++ b/sw/inc/unoparagraph.hxx @@ -103,171 +103,109 @@ public: // XUnoTunnel virtual sal_Int64 SAL_CALL getSomething( - const css::uno::Sequence< sal_Int8 >& rIdentifier) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< sal_Int8 >& rIdentifier) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; virtual sal_Bool SAL_CALL supportsService( - const OUString& rServiceName) - throw (css::uno::RuntimeException, std::exception) override; + const OUString& rServiceName) override; virtual css::uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) override; + getSupportedServiceNames() override; // XComponent - virtual void SAL_CALL dispose() - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL dispose() override; virtual void SAL_CALL addEventListener( - const css::uno::Reference< css::lang::XEventListener > & xListener) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::lang::XEventListener > & xListener) override; virtual void SAL_CALL removeEventListener( - const css::uno::Reference< css::lang::XEventListener > & xListener) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::lang::XEventListener > & xListener) override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL - getPropertySetInfo() - throw (css::uno::RuntimeException, std::exception) override; + getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& rPropertyName, - const css::uno::Any& rValue) - throw (css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Any& rValue) override; virtual css::uno::Any SAL_CALL getPropertyValue( - const OUString& rPropertyName) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& rPropertyName) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& rPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& rPropertyName, - const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& rPropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& rPropertyName, - const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener) override; // XPropertyState virtual css::beans::PropertyState SAL_CALL - getPropertyState(const OUString& rPropertyName) - throw (css::beans::UnknownPropertyException, - css::uno::RuntimeException, std::exception) override; + getPropertyState(const OUString& rPropertyName) override; virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates( - const css::uno::Sequence< OUString >& rPropertyNames) - throw (css::beans::UnknownPropertyException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< OUString >& rPropertyNames) override; virtual void SAL_CALL setPropertyToDefault( - const OUString& rPropertyName) - throw (css::beans::UnknownPropertyException, - css::uno::RuntimeException, std::exception) override; + const OUString& rPropertyName) override; virtual css::uno::Any SAL_CALL getPropertyDefault( - const OUString& rPropertyName) - throw (css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const OUString& rPropertyName) override; // XMultiPropertySet virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< OUString >& rPropertyNames, - const css::uno::Sequence< css::uno::Any >& rValues) - throw (css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::uno::Any >& rValues) override; virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues( - const css::uno::Sequence< OUString >& rPropertyNames) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< OUString >& rPropertyNames) override; virtual void SAL_CALL addPropertiesChangeListener( const css::uno::Sequence< OUString >& rPropertyNames, - const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) override; virtual void SAL_CALL removePropertiesChangeListener( - const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) override; virtual void SAL_CALL firePropertiesChangeEvent( const css::uno::Sequence< OUString >& rPropertyNames, - const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::beans::XPropertiesChangeListener >& xListener) override; // XTolerantMultiPropertySet virtual css::uno::Sequence< css::beans::SetPropertyTolerantFailed > SAL_CALL setPropertyValuesTolerant( const css::uno::Sequence< OUString >& rPropertyNames, - const css::uno::Sequence< css::uno::Any >& rValues) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::uno::Any >& rValues) override; virtual css::uno::Sequence< css::beans::GetPropertyTolerantResult > SAL_CALL getPropertyValuesTolerant( - const css::uno::Sequence< OUString >& rPropertyNames) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< OUString >& rPropertyNames) override; virtual css::uno::Sequence< css::beans::GetDirectPropertyTolerantResult > SAL_CALL getDirectPropertyValuesTolerant( - const css::uno::Sequence< OUString >& rPropertyNames) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< OUString >& rPropertyNames) override; // XElementAccess - virtual css::uno::Type SAL_CALL getElementType() - throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL hasElements() - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Type SAL_CALL getElementType() override; + virtual sal_Bool SAL_CALL hasElements() override; // XEnumerationAccess virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL - createEnumeration() - throw (css::uno::RuntimeException, std::exception) override; + createEnumeration() override; // XContentEnumerationAccess virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL - createContentEnumeration(const OUString& rServiceName) - throw (css::uno::RuntimeException, std::exception) override; + createContentEnumeration(const OUString& rServiceName) override; virtual css::uno::Sequence< OUString > SAL_CALL - getAvailableServiceNames() - throw (css::uno::RuntimeException, std::exception) override; + getAvailableServiceNames() override; // XTextContent virtual void SAL_CALL attach( - const css::uno::Reference< css::text::XTextRange > & xTextRange) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextRange > & xTextRange) override; + virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor() override; // XTextRange virtual css::uno::Reference< css::text::XText > - SAL_CALL getText() - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() - throw (css::uno::RuntimeException, std::exception) override; - virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() - throw (css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getString() - throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setString(const OUString& rString) - throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getText() override; + virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override; + virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override; + virtual OUString SAL_CALL getString() override; + virtual void SAL_CALL setString(const OUString& rString) override; }; |