diff options
Diffstat (limited to 'sw/inc/unotext.hxx')
-rw-r--r-- | sw/inc/unotext.hxx | 147 |
1 files changed, 36 insertions, 111 deletions
diff --git a/sw/inc/unotext.hxx b/sw/inc/unotext.hxx index fcfc86dabd21..6bb0681a3695 100644 --- a/sw/inc/unotext.hxx +++ b/sw/inc/unotext.hxx @@ -66,9 +66,7 @@ private: /// @throws css::lang::IllegalArgumentException /// @throws css::uno::RuntimeException virtual bool CheckForOwnMemberMeta( - const SwPaM & rPam, const bool bAbsorb) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException); + const SwPaM & rPam, const bool bAbsorb); protected: @@ -90,164 +88,106 @@ public: /// @throws css::uno::RuntimeException virtual css::uno::Reference< css::text::XTextCursor > - CreateCursor() - throw (css::uno::RuntimeException); + CreateCursor(); // 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; // XTypeProvider virtual css::uno::Sequence< css::uno::Type > - SAL_CALL getTypes() - throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getTypes() override; static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); // 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; // 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; + 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; // 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; // XSimpleText virtual void SAL_CALL insertString( const css::uno::Reference< css::text::XTextRange > & xRange, - const OUString& aString, sal_Bool bAbsorb) - throw (css::uno::RuntimeException, std::exception) override; + const OUString& aString, sal_Bool bAbsorb) override; virtual void SAL_CALL insertControlCharacter( const css::uno::Reference< css::text::XTextRange > & xRange, - sal_Int16 nControlCharacter, sal_Bool bAbsorb) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + sal_Int16 nControlCharacter, sal_Bool bAbsorb) override; // XText virtual void SAL_CALL insertTextContent( const css::uno::Reference< css::text::XTextRange > & xRange, const css::uno::Reference< css::text::XTextContent > & xContent, - sal_Bool bAbsorb) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + sal_Bool bAbsorb) override; virtual void SAL_CALL removeTextContent( - const css::uno::Reference< css::text::XTextContent > & xContent) - throw (css::container::NoSuchElementException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextContent > & xContent) override; // XParagraphAppend virtual css::uno::Reference< css::text::XTextRange > SAL_CALL finishParagraph( - const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) override; virtual css::uno::Reference< css::text::XTextRange > SAL_CALL finishParagraphInsert( const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties, - const css::uno::Reference< css::text::XTextRange >& xInsertPosition) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextRange >& xInsertPosition) override; // XTextPortionAppend virtual css::uno::Reference< css::text::XTextRange > SAL_CALL appendTextPortion( const OUString& rText, - const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) - throw (css::lang::IllegalArgumentException, - css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) override; virtual css::uno::Reference< css::text::XTextRange > SAL_CALL insertTextPortion( const OUString& rText, const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties, - const css::uno::Reference< css::text::XTextRange >& rTextRange) - throw (css::lang::IllegalArgumentException, - css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::uno::RuntimeException, - std::exception) override; + const css::uno::Reference< css::text::XTextRange >& rTextRange) override; // XTextContentAppend virtual css::uno::Reference< css::text::XTextRange > SAL_CALL appendTextContent( const css::uno::Reference< css::text::XTextContent >& xTextContent, - const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties) override; virtual css::uno::Reference< css::text::XTextRange > SAL_CALL insertTextContentWithProperties( const css::uno::Reference< css::text::XTextContent >& xTextContent, const css::uno::Sequence< css::beans::PropertyValue >& rCharacterAndParagraphProperties, - const css::uno::Reference< css::text::XTextRange >& xInsertPosition) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextRange >& xInsertPosition) override; // XTextConvert virtual css::uno::Reference< css::text::XTextContent > SAL_CALL convertToTextFrame( const css::uno::Reference< css::text::XTextRange >& xStart, const css::uno::Reference< css::text::XTextRange >& xEnd, - const css::uno::Sequence< css::beans::PropertyValue >& xFrameProperties) - throw (css::lang::IllegalArgumentException, - css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::PropertyValue >& xFrameProperties) override; virtual css::uno::Reference< css::text::XTextTable > SAL_CALL convertToTable( @@ -268,48 +208,33 @@ public: rRowProperties, css::uno::Sequence< css::beans::PropertyValue > const& - rTableProperties) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + rTableProperties) override; // XTextCopy virtual void SAL_CALL copyText( - const css::uno::Reference< css::text::XTextCopy >& xSource ) - throw (css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextCopy >& xSource ) override; // XTextRangeCompare sal_Int16 SAL_CALL compareRegionStarts( const css::uno::Reference< css::text::XTextRange >& xR1, - const css::uno::Reference< css::text::XTextRange >& xR2) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextRange >& xR2) override; sal_Int16 SAL_CALL compareRegionEnds( const css::uno::Reference< css::text::XTextRange >& xR1, - const css::uno::Reference< css::text::XTextRange >& xR2) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextRange >& xR2) override; // XRelativeTextContentInsert virtual void SAL_CALL insertTextContentBefore( const css::uno::Reference< css::text::XTextContent>& xNewContent, - const css::uno::Reference< css::text::XTextContent>& xSuccessor) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextContent>& xSuccessor) override; virtual void SAL_CALL insertTextContentAfter( const css::uno::Reference< css::text::XTextContent>& xNewContent, - const css::uno::Reference< css::text::XTextContent>& xPredecessor) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextContent>& xPredecessor) override; // XRelativeTextContentRemove virtual void SAL_CALL removeTextContentBefore( - const css::uno::Reference< css::text::XTextContent>& xSuccessor) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextContent>& xSuccessor) override; virtual void SAL_CALL removeTextContentAfter( - const css::uno::Reference< css::text::XTextContent>& xPredecessor) - throw (css::lang::IllegalArgumentException, - css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::text::XTextContent>& xPredecessor) override; }; #endif // INCLUDED_SW_INC_UNOTEXT_HXX |