summaryrefslogtreecommitdiff
path: root/sw/inc/unotextbodyhf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unotextbodyhf.hxx')
-rw-r--r--sw/inc/unotextbodyhf.hxx72
1 files changed, 24 insertions, 48 deletions
diff --git a/sw/inc/unotextbodyhf.hxx b/sw/inc/unotextbodyhf.hxx
index 41168442a24d..bb10b191d373 100644
--- a/sw/inc/unotextbodyhf.hxx
+++ b/sw/inc/unotextbodyhf.hxx
@@ -55,53 +55,41 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
- const css::uno::Type& rType)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Type& rType) override;
virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
// XAggregation
virtual css::uno::Any SAL_CALL queryAggregation(
- const css::uno::Type& rType)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Type& rType) override;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type >
- SAL_CALL getTypes()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getTypes() override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL
- getImplementationId()
- throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationId() 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;
// 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;
// XSimpleText
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
- createTextCursor()
- throw (css::uno::RuntimeException, std::exception) override;
+ createTextCursor() override;
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
createTextCursorByRange(
- const css::uno::Reference< css::text::XTextRange > & xTextPosition)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::text::XTextRange > & xTextPosition) override;
};
@@ -124,8 +112,7 @@ protected:
virtual const SwStartNode *GetStartNode() const override;
virtual css::uno::Reference< css::text::XTextCursor >
- CreateCursor()
- throw (css::uno::RuntimeException) override;
+ CreateCursor() override;
virtual ~SwXHeadFootText() override;
@@ -139,48 +126,37 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface(
- const css::uno::Type& rType)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Type& rType) override;
virtual void SAL_CALL acquire() throw() override { OWeakObject::acquire(); }
virtual void SAL_CALL release() throw() override { OWeakObject::release(); }
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type >
- SAL_CALL getTypes()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getTypes() override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL
- getImplementationId()
- throw (css::uno::RuntimeException, std::exception) override;
+ getImplementationId() 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;
// 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;
// XSimpleText
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
- createTextCursor()
- throw (css::uno::RuntimeException, std::exception) override;
+ createTextCursor() override;
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
createTextCursorByRange(
- const css::uno::Reference< css::text::XTextRange > & xTextPosition)
- throw (css::uno::RuntimeException, std::exception) override;
+ const css::uno::Reference< css::text::XTextRange > & xTextPosition) override;
};