summaryrefslogtreecommitdiff
path: root/sw/inc/unotextrange.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unotextrange.hxx')
-rw-r--r--sw/inc/unotextrange.hxx101
1 files changed, 27 insertions, 74 deletions
diff --git a/sw/inc/unotextrange.hxx b/sw/inc/unotextrange.hxx
index ae6941f2fcab..90b7851b6864 100644
--- a/sw/inc/unotextrange.hxx
+++ b/sw/inc/unotextrange.hxx
@@ -101,8 +101,7 @@ private:
//TODO: new exception type for protected content
/// @throws css::uno::RuntimeException
void DeleteAndInsert(
- const OUString& rText, const bool bForceExpandHints)
- throw (css::uno::RuntimeException);
+ const OUString& rText, const bool bForceExpandHints);
void Invalidate();
virtual ~SwXTextRange() override;
@@ -127,121 +126,75 @@ 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;
// 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;
// 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;
// XTextRange
virtual css::uno::Reference< css::text::XText >
- SAL_CALL getText()
- throw (css::uno::RuntimeException, std::exception) override;
+ SAL_CALL getText() override;
virtual css::uno::Reference<
- css::text::XTextRange > SAL_CALL getStart()
- throw (css::uno::RuntimeException, std::exception) override;
+ css::text::XTextRange > SAL_CALL getStart() 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;
+ css::text::XTextRange > SAL_CALL getEnd() override;
+ virtual OUString SAL_CALL getString() override;
+ virtual void SAL_CALL setString(const OUString& rString) override;
// XRedline
virtual void SAL_CALL makeRedline(
const OUString& rRedlineType,
- const css::uno::Sequence< css::beans::PropertyValue >& RedlineProperties)
- throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::beans::PropertyValue >& RedlineProperties) override;
};