diff options
Diffstat (limited to 'sc/inc/notesuno.hxx')
-rw-r--r-- | sc/inc/notesuno.hxx | 60 |
1 files changed, 20 insertions, 40 deletions
diff --git a/sc/inc/notesuno.hxx b/sc/inc/notesuno.hxx index e849b3e3da86..015132a7b4fa 100644 --- a/sc/inc/notesuno.hxx +++ b/sc/inc/notesuno.hxx @@ -50,66 +50,46 @@ public: /// XChild virtual css::uno::Reference< css::uno::XInterface > SAL_CALL - getParent() throw(css::uno::RuntimeException, std::exception) override; + getParent() override; virtual void SAL_CALL setParent( const css::uno::Reference< - css::uno::XInterface >& Parent ) - throw(css::lang::NoSupportException, - css::uno::RuntimeException, std::exception) override; + css::uno::XInterface >& Parent ) 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 >& aTextPosition ) - throw(css::uno::RuntimeException, std::exception) override; + createTextCursorByRange( const css::uno::Reference< css::text::XTextRange >& aTextPosition ) override; 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; /// XTextRange virtual css::uno::Reference< css::text::XText > SAL_CALL - getText() throw(css::uno::RuntimeException, std::exception) override; + getText() override; virtual css::uno::Reference< css::text::XTextRange > SAL_CALL - getStart() throw(css::uno::RuntimeException, std::exception) override; + 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& aString ) - throw(css::uno::RuntimeException, std::exception) override; + getEnd() override; + virtual OUString SAL_CALL getString() override; + virtual void SAL_CALL setString( const OUString& aString ) override; /// XSheetAnnotation - virtual css::table::CellAddress SAL_CALL getPosition() - throw(css::uno::RuntimeException, std::exception) override; - virtual OUString SAL_CALL getAuthor() - throw(css::uno::RuntimeException, - std::exception) override; - virtual OUString SAL_CALL getDate() - throw(css::uno::RuntimeException, - std::exception) override; - virtual sal_Bool SAL_CALL getIsVisible() - throw(css::uno::RuntimeException, - std::exception) override; - virtual void SAL_CALL setIsVisible( sal_Bool bIsVisible ) - throw(css::uno::RuntimeException, std::exception) override; + virtual css::table::CellAddress SAL_CALL getPosition() override; + virtual OUString SAL_CALL getAuthor() override; + virtual OUString SAL_CALL getDate() override; + virtual sal_Bool SAL_CALL getIsVisible() override; + virtual void SAL_CALL setIsVisible( sal_Bool bIsVisible ) override; /// XSheetAnnotationShapeSupplier virtual css::uno::Reference < css::drawing::XShape > SAL_CALL - getAnnotationShape() - throw(css::uno::RuntimeException, - std::exception) override; + getAnnotationShape() override; /// XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw(css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw(css::uno::RuntimeException, std::exception) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw(css::uno::RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; private: SvxUnoText& GetUnoText(); |